Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.001062/0.001062, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001037/0.001037, allocations: 177 kB / 23.36 MB, free: 1.129 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.062/1.062, allocations: 177.1 MB / 203.8 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.544/2.544, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.413e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001992/0.002016, allocations: 0.8595 MB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001452/0.002161, allocations: 43.78 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.002212, allocations: 0 / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/0.002249, allocations: 11.86 kB / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.742e-05/0.002337, allocations: 11.88 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.675e-05/0.002384, allocations: 15.98 kB / 0.8396 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.002485, allocations: 63.78 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.002601, allocations: 43.94 kB / 0.8397 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.002711, allocations: 43.84 kB / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.002748, allocations: 7.984 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.002765, allocations: 11.88 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/0.002774, allocations: 4 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.002794, allocations: 11.98 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.002819, allocations: 23.92 kB / 0.8398 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.246e-05/0.002912, allocations: 39.77 kB / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002914, allocations: 0 / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.81e-07/0.002915, allocations: 0 / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.002918, allocations: 0 / 0.8398 GB, free: 12.98 MB / 0.8073 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.0003114/0.003229, allocations: 288.5 kB / 0.8401 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.003269, allocations: 12.62 kB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.003301, allocations: 16.92 kB / 0.8401 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.003441, allocations: 129.6 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003455, allocations: 12.38 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.003462, allocations: 4.375 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.826e-05/0.00355, allocations: 82.03 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.003559, allocations: 4.172 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.003566, allocations: 4.375 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.003572, allocations: 4.375 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.542e-05/0.003598, allocations: 23.88 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.003916, allocations: 0.4971 MB / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.411e-05/0.00397, allocations: 177.1 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.00399, allocations: 84.27 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.004008, allocations: 75.28 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.004047, allocations: 105.8 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.004047, allocations: 0 / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.04e-05/0.004098, allocations: 33.7 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.004135, allocations: 126.7 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.004218, allocations: 152.8 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.004226, allocations: 25.7 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.004276, allocations: 127.8 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.004278, allocations: 0 / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.004306, allocations: 29.66 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.004385, allocations: 330.7 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.004393, allocations: 7.938 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.004421, allocations: 50.86 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.337e-05/0.004475, allocations: 78.72 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.004477, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.682e-05/0.004563, allocations: 65.55 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.004577, allocations: 12.25 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.004581, allocations: 3.938 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.004593, allocations: 4 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.38e-05/0.004637, allocations: 15.98 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.00464, allocations: 0 / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/0.004663, allocations: 11.94 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.004667, allocations: 4 kB / 0.8423 GB, free: 10.2 MB / 0.8073 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 6.618e-05/0.004733, allocations: 193 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.004771, allocations: 109 kB / 0.8426 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.004806, allocations: 108.8 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.892e-05/0.004845, allocations: 188.2 kB / 0.8429 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.62e-05/0.004882, allocations: 176.3 kB / 0.843 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.933e-05/0.004921, allocations: 184.2 kB / 0.8432 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.005059, allocations: 333.4 kB / 0.8435 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/0.005084, allocations: 105 kB / 0.8436 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.005111, allocations: 108.9 kB / 0.8437 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.91e-05/0.00515, allocations: 176.3 kB / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.005193, allocations: 180.2 kB / 0.8441 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.382e-05/0.005237, allocations: 180.3 kB / 0.8442 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.113e-05/0.005278, allocations: 188.4 kB / 0.8444 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.309e-05/0.005371, allocations: 311.8 kB / 0.8447 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.005411, allocations: 124.9 kB / 0.8448 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.005459, allocations: 180.3 kB / 0.845 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.005507, allocations: 104.9 kB / 0.8451 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.005554, allocations: 180.3 kB / 0.8453 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.005579, allocations: 101 kB / 0.8454 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.005604, allocations: 30.19 kB / 0.8454 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005604, allocations: 0 / 0.8454 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001351/0.005739, allocations: 15.95 kB / 0.8454 GB, free: 6.816 MB / 0.8073 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.927e-05/0.005829, allocations: 155.6 kB / 0.8456 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.507e-05/0.005884, allocations: 32.72 kB / 0.8456 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.005887, allocations: 0 / 0.8456 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.005888, allocations: 0 / 0.8456 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.006085, allocations: 463.6 kB / 0.846 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.006279, allocations: 228 kB / 0.8463 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.855e-05/0.006308, allocations: 59.34 kB / 0.8463 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.006338, allocations: 9.219 kB / 0.8463 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.006366, allocations: 55.38 kB / 0.8464 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.006367, allocations: 0 / 0.8464 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.001625/0.007991, allocations: 340.8 kB / 0.8467 GB, free: 5.438 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.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.356711953878403]