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.001022/0.001022, allocations: 81.95 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.001039/0.001039, 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.9312/0.9312, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.887/1.887, allocations: 377.9 MB / 0.6239 GB, free: 8.441 MB / 0.5886 GB " [Timeout remaining time 178] 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.423e-06/1.423e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.32e-05, allocations: 3.312 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001194/0.001208, allocations: 0.8161 MB / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 9.892e-05/0.001307, allocations: 45.56 kB / 0.8129 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.001347, allocations: 3.938 kB / 0.8129 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.001376, allocations: 7.875 kB / 0.8129 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.448e-05/0.001441, allocations: 11.92 kB / 0.8129 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.625e-05/0.001477, allocations: 16.78 kB / 0.8129 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.511e-05/0.001562, allocations: 71.72 kB / 0.813 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.001654, allocations: 24.67 kB / 0.813 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.138e-05/0.001735, allocations: 41.23 kB / 0.813 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.121e-05/0.001767, allocations: 19.92 kB / 0.813 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.00178, allocations: 4 kB / 0.813 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-06/0.001786, allocations: 4 kB / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.001805, allocations: 20.59 kB / 0.8131 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.001827, allocations: 11.94 kB / 0.8131 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.853e-05/0.001895, allocations: 44.73 kB / 0.8131 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.001897, allocations: 0 / 0.8131 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd: time 3.11e-07/0.001898, allocations: 0.6562 kB / 0.8131 GB, free: 344 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.645e-06/0.0019, allocations: 3.938 kB / 0.8131 GB, free: 340 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.00029/0.00219, allocations: 412.9 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.002223, allocations: 13.28 kB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.002247, allocations: 16.83 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.002347, allocations: 140.5 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.002356, allocations: 4.375 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.002366, allocations: 14.53 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.989e-05/0.002456, allocations: 81.45 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.002462, allocations: 192 / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.002469, allocations: 4.375 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.002474, allocations: 384 / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.55e-05/0.0025, allocations: 27.86 kB / 0.8138 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.002875, allocations: 0.7272 MB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/0.002945, allocations: 266.9 kB / 0.8148 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.002973, allocations: 130.9 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.003001, allocations: 123.2 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.003041, allocations: 156.6 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.003042, allocations: 1.031 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.713e-05/0.003089, allocations: 37.59 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.003132, allocations: 171.3 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.003223, allocations: 197.8 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.00323, allocations: 26.8 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.00329, allocations: 178.4 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.003292, allocations: 0 / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.003319, allocations: 36.84 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.003423, allocations: 496.1 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-06/0.00343, allocations: 4 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.003464, allocations: 73.48 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.799e-05/0.003522, allocations: 92.7 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003524, allocations: 0 / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.111e-05/0.003615, allocations: 91.34 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.003625, allocations: 5.281 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.00363, allocations: 4 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.00364, allocations: 0 / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.853e-05/0.003679, allocations: 12 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.003684, allocations: 8.594 kB / 0.8165 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.003704, allocations: 15.83 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.00371, allocations: 8.703 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 8.048e-05/0.00379, allocations: 281.2 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.003832, allocations: 148.9 kB / 0.817 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.003876, allocations: 156.6 kB / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.523e-05/0.003931, allocations: 276.1 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.489e-05/0.003986, allocations: 273 kB / 0.8176 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.813e-05/0.004044, allocations: 268 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.004203, allocations: 493.3 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/0.004235, allocations: 148.8 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.004266, allocations: 144.9 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.199e-05/0.004328, allocations: 269.4 kB / 0.8189 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.004387, allocations: 276.1 kB / 0.8192 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.277e-05/0.00444, allocations: 268.1 kB / 0.8194 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-05/0.004495, allocations: 268.6 kB / 0.8197 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.004609, allocations: 455.8 kB / 0.8201 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.004654, allocations: 161.5 kB / 0.8203 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.004718, allocations: 273.8 kB / 0.8205 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.00477, allocations: 148.9 kB / 0.8207 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.004828, allocations: 264.4 kB / 0.8209 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.004862, allocations: 156.8 kB / 0.8211 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.004906, allocations: 141.4 kB / 0.8212 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.004906, allocations: 0.875 kB / 0.8212 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001511/0.005057, allocations: 7.953 kB / 0.8212 GB, free: 7.586 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.441e-05/0.005151, allocations: 217.9 kB / 0.8214 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.236e-05/0.005214, allocations: 39.58 kB / 0.8215 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.005215, allocations: 0 / 0.8215 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.005216, allocations: 0 / 0.8215 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.0002766/0.005492, allocations: 0.7125 MB / 0.8222 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.005689, allocations: 274.3 kB / 0.8224 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.92e-05/0.005718, allocations: 59.34 kB / 0.8225 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.005745, allocations: 7.156 kB / 0.8225 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.005775, allocations: 76.2 kB / 0.8226 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of SimCode: time 4.01e-07/0.005776, allocations: 0 / 0.8226 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of Templates: time 0.001543/0.007319, allocations: 329.1 kB / 0.8229 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.004847749136388]