Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008201/0.0008201, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009277/0.0009277, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9717/0.9717, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.928/1.928, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8121 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.597e-05, allocations: 3.406 kB / 0.8121 GB, free: 1.344 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001155/0.001171, allocations: 0.6812 MB / 0.8127 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.001979, allocations: 0.8653 MB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.002015, allocations: 4 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.00204, allocations: 3.938 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-05/0.002102, allocations: 0 / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.002286, allocations: 11.98 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.949e-05/0.002345, allocations: 23.92 kB / 0.8136 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.313e-05/0.002419, allocations: 9.5 kB / 0.8136 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.002483, allocations: 15.92 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.918e-05/0.002512, allocations: 4 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.002525, allocations: 0 / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.002575, allocations: 17.36 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.00259, allocations: 7.984 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.428e-05/0.002604, allocations: 8 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.752e-05/0.002681, allocations: 15.92 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.002683, allocations: 0.5312 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002684, allocations: 4.531 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.002687, allocations: 0 / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003133/0.003, allocations: 369.6 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.003041, allocations: 8.031 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.003125, allocations: 5.625 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.003206, allocations: 104.6 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.003216, allocations: 4.906 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-06/0.003221, allocations: 1.75 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.919e-05/0.00332, allocations: 50.95 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.003327, allocations: 192 / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.003334, allocations: 384 / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.003339, allocations: 1.531 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.003363, allocations: 19.86 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.003591, allocations: 224.4 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.461e-05/0.003636, allocations: 31.98 kB / 0.8145 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.22e-05/0.003648, allocations: 8.562 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.003667, allocations: 0 / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.003691, allocations: 46.48 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.003692, allocations: 0 / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001191/0.003811, allocations: 42.47 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.003841, allocations: 55.41 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.003914, allocations: 157.9 kB / 0.8148 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.003924, allocations: 31.2 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.003969, allocations: 130.9 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.003988, allocations: 7.938 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.004012, allocations: 15.38 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.00417, allocations: 497.3 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.004182, allocations: 3.984 kB / 0.8154 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-06/0.00419, allocations: 0 / 0.8154 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.004222, allocations: 26.78 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004224, allocations: 0 / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.022e-05/0.004274, allocations: 33.7 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.004287, allocations: 6.656 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.004293, allocations: 0 / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.004306, allocations: 3.938 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.004373, allocations: 7.984 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.004377, allocations: 0.5 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.004397, allocations: 10.06 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.004401, allocations: 0 / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.004473, allocations: 156.6 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.004488, allocations: 7.922 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.524e-05/0.004573, allocations: 46.56 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.004577, allocations: 3.938 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.004579, allocations: 0 / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.004583, allocations: 0 / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.004688, allocations: 110.2 kB / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.004689, allocations: 0 / 0.8158 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.004708, allocations: 4 kB / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.00471, allocations: 0.8438 kB / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-06/0.004714, allocations: 0 / 0.8158 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.004719, allocations: 12.83 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00472, allocations: 0 / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.063e-05/0.0048, allocations: 185.1 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.004806, allocations: 0 / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.004814, allocations: 4 kB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.847e-05/0.004843, allocations: 4.828 kB / 0.816 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.004874, allocations: 8 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.004878, allocations: 6.406 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.004916, allocations: 127.1 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004916, allocations: 4 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001355/0.005051, allocations: 0 / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.231e-05/0.005123, allocations: 95.25 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.195e-05/0.005185, allocations: 14.66 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.02e-07/0.005186, allocations: 0 / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.564e-05/0.005202, allocations: 15.62 kB / 0.8163 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.005376, allocations: 7.984 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.005763, allocations: 119.4 kB / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.604e-05/0.005799, allocations: 55.3 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.634e-05/0.005815, allocations: 5.062 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.005862, allocations: 70.19 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.005863, allocations: 1.094 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.001962/0.007824, allocations: 0.5222 MB / 0.8171 GB, free: 11.98 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.964369656983763]