Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001574/0.001574, allocations: 81.86 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.001585/0.001585, allocations: 185 kB / 24.09 MB, free: 416 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 1.043/1.043, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.976/1.976, allocations: 377.9 MB / 0.6239 GB, free: 8.438 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.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.127e-05, allocations: 6.25 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00182/0.001842, allocations: 0.821 MB / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001269/0.001968, allocations: 36.41 kB / 0.8129 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.002025, allocations: 5.219 kB / 0.8129 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.002062, allocations: 7.875 kB / 0.8129 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.176e-05/0.002144, allocations: 11.86 kB / 0.8129 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.852e-05/0.002192, allocations: 25.97 kB / 0.8129 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.002292, allocations: 59.78 kB / 0.813 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.002409, allocations: 27.98 kB / 0.813 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.002519, allocations: 51.77 kB / 0.813 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.00256, allocations: 7.984 kB / 0.813 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.002579, allocations: 5.156 kB / 0.813 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.002587, allocations: 4 kB / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.002611, allocations: 23.91 kB / 0.8131 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.002639, allocations: 17.31 kB / 0.8131 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.199e-05/0.002731, allocations: 39.77 kB / 0.8131 GB, free: 348 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002733, allocations: 0 / 0.8131 GB, free: 348 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002734, allocations: 0 / 0.8131 GB, free: 348 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.002737, allocations: 1.469 kB / 0.8131 GB, free: 348 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000369/0.003106, allocations: 412.2 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.003146, allocations: 12.03 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.003179, allocations: 18.23 kB / 0.8136 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.003308, allocations: 140.4 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.00332, allocations: 4.375 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.003331, allocations: 8.375 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.003439, allocations: 84.7 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.003446, allocations: 2.125 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.003456, allocations: 4.375 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.003461, allocations: 384 / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.003501, allocations: 35.78 kB / 0.8138 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.003965, allocations: 0.7184 MB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.598e-05/0.004051, allocations: 263.7 kB / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.572e-05/0.004086, allocations: 134.8 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.004118, allocations: 123.2 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.004169, allocations: 160.6 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.00417, allocations: 0 / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.042e-05/0.00423, allocations: 34.19 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.004282, allocations: 171.1 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.004399, allocations: 196 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.004407, allocations: 26.42 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.004485, allocations: 182.4 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.004487, allocations: 0.5312 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.004524, allocations: 36.84 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.00466, allocations: 0.4883 MB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.00467, allocations: 7.984 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/0.004714, allocations: 69.5 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.783e-05/0.004792, allocations: 92.11 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.004796, allocations: 4.766 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001278/0.004924, allocations: 87.36 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.004936, allocations: 4 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.004943, allocations: 5.438 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.004958, allocations: 0 / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.565e-05/0.005014, allocations: 19.98 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.00502, allocations: 4 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.929e-05/0.005059, allocations: 16.97 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.005067, allocations: 4 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 0.0001078/0.005174, allocations: 281.6 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.005235, allocations: 152.9 kB / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.00529, allocations: 152.7 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/0.005362, allocations: 272 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-05/0.005437, allocations: 272.1 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.298e-05/0.00551, allocations: 274.3 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.005676, allocations: 496.5 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004494/0.006126, allocations: 144.9 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.006156, allocations: 148.8 kB / 0.8187 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.914e-05/0.006205, allocations: 268.1 kB / 0.8189 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.006256, allocations: 276 kB / 0.8192 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.001e-05/0.006306, allocations: 265 kB / 0.8194 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.024e-05/0.006356, allocations: 272 kB / 0.8197 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.006469, allocations: 455.9 kB / 0.8201 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.006517, allocations: 158.4 kB / 0.8203 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.006577, allocations: 268.1 kB / 0.8205 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.891e-05/0.006626, allocations: 148.8 kB / 0.8207 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.006683, allocations: 264.4 kB / 0.8209 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.006714, allocations: 153.5 kB / 0.8211 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.00676, allocations: 144.5 kB / 0.8212 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00676, allocations: 1.344 kB / 0.8212 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001394/0.006899, allocations: 7.953 kB / 0.8212 GB, free: 7.598 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 (0): * Single equations (assignments): 0 * 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 9.202e-05/0.006991, allocations: 219.1 kB / 0.8214 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.094e-05/0.007052, allocations: 36.89 kB / 0.8215 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.007053, allocations: 0 / 0.8215 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.007054, allocations: 3.25 kB / 0.8215 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.007334, allocations: 0.7062 MB / 0.8222 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.007536, allocations: 269.7 kB / 0.8224 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.794e-05/0.007564, allocations: 63.28 kB / 0.8225 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.007591, allocations: 11.09 kB / 0.8225 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.00762, allocations: 74.2 kB / 0.8226 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.007621, allocations: 3.938 kB / 0.8226 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of Templates: time 0.001583/0.009204, allocations: 336.1 kB / 0.8229 GB, free: 5.84 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.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: 5.089134317822754]