Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.001138/0.001138, 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.001024/0.001024, allocations: 167.1 kB / 24.87 MB, free: 8.867 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.018e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001357/0.001378, allocations: 0.8095 MB / 0.8136 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.00149, allocations: 43.78 kB / 0.8136 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.001538, allocations: 4.688 kB / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.001576, allocations: 11.86 kB / 0.8136 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.862e-05/0.001664, allocations: 12.62 kB / 0.8136 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.891e-05/0.001703, allocations: 15.98 kB / 0.8137 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.00181, allocations: 69.05 kB / 0.8137 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.001929, allocations: 31.97 kB / 0.8138 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.002031, allocations: 35.91 kB / 0.8138 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.002074, allocations: 20.59 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.00209, allocations: 4 kB / 0.8138 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.484e-06/0.002098, allocations: 8.844 kB / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.00212, allocations: 19.92 kB / 0.8138 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.002142, allocations: 12.59 kB / 0.8139 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.449e-05/0.002226, allocations: 39.83 kB / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002228, allocations: 1.094 kB / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002229, allocations: 0 / 0.8139 GB, free: 344 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.002233, allocations: 0 / 0.8139 GB, free: 344 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.0003522/0.002585, allocations: 412.8 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.002619, allocations: 8.625 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.002651, allocations: 24.83 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.002772, allocations: 137.7 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.002783, allocations: 8.375 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.002792, allocations: 8.359 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.546e-05/0.002878, allocations: 90.22 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.002884, allocations: 4.188 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.002892, allocations: 4.375 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.002896, allocations: 384 / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.909e-05/0.002926, allocations: 31.8 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.003305, allocations: 0.7153 MB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.694e-05/0.003382, allocations: 273.4 kB / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.003414, allocations: 135.5 kB / 0.8157 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.003441, allocations: 120.6 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.003479, allocations: 156.6 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.003479, allocations: 0 / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.441e-05/0.003534, allocations: 33.66 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.003588, allocations: 172.1 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.003694, allocations: 200 kB / 0.8163 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.003701, allocations: 25.7 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.003767, allocations: 182.4 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.003769, allocations: 1.156 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.003795, allocations: 27.38 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.003901, allocations: 0.4884 MB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.003909, allocations: 9.375 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.003946, allocations: 77.47 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.212e-05/0.004008, allocations: 87.81 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00401, allocations: 0 / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.455e-05/0.004104, allocations: 84.27 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.004115, allocations: 4 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.004121, allocations: 4 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.575e-06/0.004128, allocations: 5.219 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.004173, allocations: 15.98 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.004177, allocations: 4 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.004198, allocations: 16.48 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.004203, allocations: 4 kB / 0.8173 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 8.962e-05/0.004292, allocations: 284.4 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.004345, allocations: 149.8 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.004393, allocations: 156.7 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.528e-05/0.004469, allocations: 268 kB / 0.8182 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.384e-05/0.004532, allocations: 268.9 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.158e-05/0.004594, allocations: 276 kB / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.004772, allocations: 0.4901 MB / 0.8192 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.019e-05/0.004812, allocations: 152.9 kB / 0.8193 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.00485, allocations: 148.8 kB / 0.8194 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.431e-05/0.004914, allocations: 264.6 kB / 0.8197 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.004979, allocations: 272 kB / 0.8199 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-05/0.005044, allocations: 264.8 kB / 0.8202 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.441e-05/0.005108, allocations: 268.1 kB / 0.8205 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.005228, allocations: 457.6 kB / 0.8209 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.005272, allocations: 156.8 kB / 0.821 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.324e-05/0.005335, allocations: 268.1 kB / 0.8213 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.292e-05/0.005388, allocations: 148.9 kB / 0.8214 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.005456, allocations: 269.2 kB / 0.8217 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.005485, allocations: 144.9 kB / 0.8218 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.285e-05/0.005538, allocations: 149.5 kB / 0.822 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005538, allocations: 3.469 kB / 0.822 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001469/0.005685, allocations: 11.95 kB / 0.822 GB, free: 7.59 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.727e-05/0.005783, allocations: 214.4 kB / 0.8222 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.016e-05/0.005843, allocations: 43.52 kB / 0.8222 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005844, allocations: 0 / 0.8222 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.005845, allocations: 0.5312 kB / 0.8222 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.006143, allocations: 0.7041 MB / 0.8229 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.006344, allocations: 273.7 kB / 0.8232 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.00638, allocations: 59.34 kB / 0.8232 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.006409, allocations: 6.484 kB / 0.8233 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.00644, allocations: 80.25 kB / 0.8233 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of SimCode: time 4.8e-07/0.00644, allocations: 0 / 0.8233 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of Templates: time 0.001738/0.008178, allocations: 334.8 kB / 0.8236 GB, free: 5.844 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.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.183040810748935]