Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001453/0.001453, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001495/0.001495, allocations: 166.9 kB / 24.87 MB, free: 8.887 MB / 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.056/1.056, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.916/1.916, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/1.991e-05, allocations: 8.922 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001336/0.001356, allocations: 0.8088 MB / 0.8136 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000107/0.001463, allocations: 40.81 kB / 0.8136 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.001513, allocations: 7.938 kB / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.001546, allocations: 12.52 kB / 0.8136 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.227e-05/0.001609, allocations: 3.938 kB / 0.8136 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.604e-05/0.001655, allocations: 21.58 kB / 0.8137 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.809e-05/0.001743, allocations: 63.83 kB / 0.8137 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.00185, allocations: 23.97 kB / 0.8137 GB, free: 500 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.272e-05/0.001923, allocations: 55.77 kB / 0.8138 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.75e-05/0.00196, allocations: 12.8 kB / 0.8138 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.001979, allocations: 4 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.001988, allocations: 4.781 kB / 0.8138 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.002005, allocations: 11.94 kB / 0.8138 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.002029, allocations: 25.59 kB / 0.8139 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.945e-05/0.002108, allocations: 39.83 kB / 0.8139 GB, free: 348 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.00211, allocations: 0 / 0.8139 GB, free: 348 kB / 0.7605 GB Notification: Performance of FrontEnd: time 4.61e-07/0.00211, allocations: 0 / 0.8139 GB, free: 348 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.002114, allocations: 0 / 0.8139 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.0003169/0.00243, allocations: 409.8 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.002464, allocations: 12.03 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.002493, allocations: 16.89 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.002611, allocations: 136.4 kB / 0.8144 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.002619, allocations: 6.125 kB / 0.8144 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.002632, allocations: 12.38 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.333e-05/0.002726, allocations: 95.92 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.002734, allocations: 4.188 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.00274, allocations: 1.469 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.002746, allocations: 384 / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.845e-05/0.002774, allocations: 23.92 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.00316, allocations: 0.7247 MB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.642e-05/0.003237, allocations: 269.6 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.003269, allocations: 130.9 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.003294, allocations: 119.2 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.003334, allocations: 156.6 kB / 0.8159 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.003335, allocations: 0 / 0.8159 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.026e-05/0.003385, allocations: 38.17 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.003437, allocations: 179.2 kB / 0.8161 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.00354, allocations: 193.8 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.003548, allocations: 26.23 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.003614, allocations: 184 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.003616, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.003644, allocations: 31.36 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.00375, allocations: 496.1 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.003759, allocations: 7.984 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.003796, allocations: 74.12 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.09e-05/0.003857, allocations: 96.94 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.003859, allocations: 0 / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001013/0.003961, allocations: 83.2 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.003972, allocations: 4 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.003977, allocations: 5.219 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.003985, allocations: 0 / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.029e-05/0.004025, allocations: 15.98 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.004029, allocations: 4.844 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.004054, allocations: 15.89 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.004057, allocations: 6.219 kB / 0.8173 GB, free: 12.55 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 8.482e-05/0.004142, allocations: 279.6 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.004187, allocations: 148.9 kB / 0.8177 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.00423, allocations: 164.6 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.772e-05/0.004288, allocations: 264.1 kB / 0.8181 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-05/0.004344, allocations: 268.1 kB / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.096e-05/0.004405, allocations: 279.1 kB / 0.8187 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.004565, allocations: 488.5 kB / 0.8191 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/0.004598, allocations: 152.8 kB / 0.8193 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.004631, allocations: 152.9 kB / 0.8194 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.378e-05/0.004685, allocations: 264.1 kB / 0.8197 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/0.004743, allocations: 276 kB / 0.8199 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.542e-05/0.004799, allocations: 264.1 kB / 0.8202 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.006e-05/0.004859, allocations: 268 kB / 0.8204 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.004979, allocations: 461.1 kB / 0.8209 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.005026, allocations: 156.8 kB / 0.821 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.005088, allocations: 264.1 kB / 0.8213 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.005145, allocations: 157.5 kB / 0.8214 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.005203, allocations: 268.4 kB / 0.8217 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.005235, allocations: 149.4 kB / 0.8218 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.005281, allocations: 142.2 kB / 0.822 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005281, allocations: 4 kB / 0.822 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001563/0.005437, allocations: 11.95 kB / 0.822 GB, free: 7.594 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 8.877e-05/0.005526, allocations: 219.5 kB / 0.8222 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.59e-05/0.005592, allocations: 33.34 kB / 0.8222 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005593, allocations: 0 / 0.8222 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.41e-07/0.005594, allocations: 0.7812 kB / 0.8222 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.0002776/0.005872, allocations: 0.7062 MB / 0.8229 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000205/0.006077, allocations: 278.8 kB / 0.8232 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.939e-05/0.006106, allocations: 59.34 kB / 0.8232 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.006134, allocations: 6.859 kB / 0.8232 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.006163, allocations: 75.33 kB / 0.8233 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.006164, allocations: 0 / 0.8233 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.001673/0.007837, allocations: 335 kB / 0.8236 GB, free: 5.848 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.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.319742236752063]