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.001002/0.001002, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001069/0.001069, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9823/0.9823, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.858/1.858, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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 2.184e-06/2.184e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.148e-05, allocations: 3.188 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001813/0.001845, allocations: 0.8337 MB / 0.8124 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001242/0.001969, allocations: 40.69 kB / 0.8124 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.002024, allocations: 1.562 kB / 0.8124 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.002065, allocations: 7.875 kB / 0.8124 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.002148, allocations: 15.81 kB / 0.8124 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.482e-05/0.002193, allocations: 23.97 kB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.002293, allocations: 61.44 kB / 0.8125 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.002421, allocations: 31.97 kB / 0.8125 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.00252, allocations: 39.91 kB / 0.8126 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.00256, allocations: 15.86 kB / 0.8126 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.002585, allocations: 9.266 kB / 0.8126 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.002592, allocations: 4 kB / 0.8126 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.002612, allocations: 15.92 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.002643, allocations: 21.53 kB / 0.8126 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.597e-05/0.002739, allocations: 35.83 kB / 0.8127 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.002742, allocations: 0 / 0.8127 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.193e-06/0.002743, allocations: 4 kB / 0.8127 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.002749, allocations: 0 / 0.8127 GB, free: 0.6172 MB / 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.0004425/0.003191, allocations: 410.7 kB / 0.8131 GB, free: 184 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.003237, allocations: 12.03 kB / 0.8131 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.003288, allocations: 16.89 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.003474, allocations: 144.4 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.003487, allocations: 4.375 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.0035, allocations: 8.375 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.003657, allocations: 88.89 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.003666, allocations: 192 / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.003681, allocations: 8.906 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.003692, allocations: 2.031 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.407e-05/0.003746, allocations: 31.8 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.004331, allocations: 0.7491 MB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/0.004424, allocations: 261.6 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.004462, allocations: 135.5 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.00449, allocations: 124.3 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.004535, allocations: 152.6 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.004537, allocations: 0 / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.337e-05/0.0046, allocations: 34.81 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.004656, allocations: 178.5 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.004787, allocations: 200.6 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.004795, allocations: 27.08 kB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.43e-05/0.004879, allocations: 174.5 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-06/0.004883, allocations: 4 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.00492, allocations: 23.38 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.005047, allocations: 0.494 MB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.005063, allocations: 11.92 kB / 0.8159 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.553e-05/0.005108, allocations: 77.48 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.623e-05/0.005184, allocations: 87.88 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005187, allocations: 0 / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001512/0.005338, allocations: 88.19 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.005354, allocations: 7.938 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.005361, allocations: 4 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.005377, allocations: 4.781 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.00544, allocations: 8 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.00545, allocations: 10.47 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.005477, allocations: 11.94 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.005483, allocations: 4 kB / 0.8161 GB, free: 12.79 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 9.335e-05/0.005576, allocations: 291.6 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.005623, allocations: 152.8 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.005671, allocations: 154.7 kB / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.186e-05/0.005733, allocations: 272 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-05/0.0058, allocations: 272 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.377e-05/0.005863, allocations: 272 kB / 0.8175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.006064, allocations: 0.5038 MB / 0.818 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.006099, allocations: 152.9 kB / 0.8181 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.006135, allocations: 153.3 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-05/0.006225, allocations: 266 kB / 0.8185 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/0.00629, allocations: 272 kB / 0.8188 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.741e-05/0.006357, allocations: 268.1 kB / 0.819 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001302/0.006488, allocations: 272 kB / 0.8193 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.006625, allocations: 451.9 kB / 0.8197 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.00668, allocations: 157.4 kB / 0.8199 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-05/0.006753, allocations: 268.1 kB / 0.8201 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.006807, allocations: 156.5 kB / 0.8203 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.006876, allocations: 264.4 kB / 0.8205 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.00691, allocations: 148.8 kB / 0.8207 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.006969, allocations: 153.4 kB / 0.8208 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006969, allocations: 0 / 0.8208 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001662/0.007136, allocations: 11.95 kB / 0.8208 GB, free: 7.785 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 0.0001247/0.00726, allocations: 214.4 kB / 0.821 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.007364, allocations: 41.7 kB / 0.8211 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.007367, allocations: 0 / 0.8211 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.007368, allocations: 0 / 0.8211 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.007755, allocations: 0.7071 MB / 0.8218 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.00805, allocations: 269.7 kB / 0.822 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.795e-05/0.008088, allocations: 63.28 kB / 0.8221 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.008121, allocations: 10.94 kB / 0.8221 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.008142, allocations: 9.562 kB / 0.8221 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.008143, allocations: 4 kB / 0.8221 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.001998/0.01014, allocations: 319.5 kB / 0.8224 GB, free: 6.113 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.139963617082685]