Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001245/0.001245, 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.001352/0.001352, 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 0.9518/0.9518, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.437/2.437, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.891e-05, allocations: 4.844 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001865/0.001894, allocations: 0.8178 MB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.002033, allocations: 43.78 kB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.002083, allocations: 0 / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.00212, allocations: 11.86 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.002197, allocations: 15.81 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 4.126e-05/0.002239, allocations: 15.98 kB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.438e-05/0.002333, allocations: 59.84 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.002439, allocations: 43.94 kB / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.002542, allocations: 39.84 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.002583, allocations: 19.91 kB / 0.8396 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.002606, allocations: 7.938 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.002613, allocations: 4 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.002634, allocations: 11.94 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.002658, allocations: 19.92 kB / 0.8397 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.622e-05/0.002754, allocations: 39.83 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.002756, allocations: 0 / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002757, allocations: 0 / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.002761, allocations: 0 / 0.8397 GB, free: 13.07 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.0003021/0.003063, allocations: 288.5 kB / 0.84 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.0031, allocations: 8.625 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.003129, allocations: 16.92 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.003263, allocations: 129.6 kB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.003275, allocations: 8.375 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.003288, allocations: 8.375 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.588e-05/0.003384, allocations: 78.03 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.003391, allocations: 4.188 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.003399, allocations: 4.375 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.003407, allocations: 384 / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.003439, allocations: 31.86 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.00379, allocations: 0.4971 MB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.571e-05/0.003856, allocations: 169.1 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.003881, allocations: 84.27 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.003902, allocations: 83.27 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.003939, allocations: 109.8 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.00394, allocations: 3.938 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.921e-05/0.003989, allocations: 29.7 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.004037, allocations: 126.7 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.004137, allocations: 152.3 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.004147, allocations: 25.7 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.00421, allocations: 127.8 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.004213, allocations: 0 / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.00424, allocations: 21.67 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.00432, allocations: 330.8 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.004331, allocations: 7.938 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.004364, allocations: 46.88 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.76e-05/0.004422, allocations: 74.72 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.004426, allocations: 8 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.232e-05/0.004508, allocations: 65.55 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.004519, allocations: 4.25 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.004525, allocations: 11.94 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.004536, allocations: 0 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.004583, allocations: 19.98 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.004589, allocations: 8.141 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.004613, allocations: 7.938 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.004617, allocations: 4 kB / 0.8422 GB, free: 10.29 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.813e-05/0.004685, allocations: 189 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.004721, allocations: 109 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.279e-05/0.004764, allocations: 112.8 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-05/0.004805, allocations: 180.2 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-05/0.004846, allocations: 184.3 kB / 0.8429 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.149e-05/0.004887, allocations: 180.2 kB / 0.8431 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.005029, allocations: 349.3 kB / 0.8434 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/0.005053, allocations: 101 kB / 0.8435 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.005076, allocations: 104.9 kB / 0.8436 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.072e-05/0.005117, allocations: 176.3 kB / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.005159, allocations: 184.2 kB / 0.844 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.234e-05/0.005202, allocations: 176.3 kB / 0.8441 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.435e-05/0.005246, allocations: 188.4 kB / 0.8443 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.005348, allocations: 311.8 kB / 0.8446 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.005389, allocations: 124.8 kB / 0.8447 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.005434, allocations: 180.3 kB / 0.8449 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.593e-05/0.00548, allocations: 104.9 kB / 0.845 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.005523, allocations: 176.3 kB / 0.8452 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.005551, allocations: 105 kB / 0.8453 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.005583, allocations: 34.19 kB / 0.8453 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005583, allocations: 0 / 0.8453 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001371/0.00572, allocations: 11.95 kB / 0.8453 GB, free: 6.898 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 9.099e-05/0.005811, allocations: 151.6 kB / 0.8455 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.93e-05/0.00587, allocations: 28.78 kB / 0.8455 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.005874, allocations: 4 kB / 0.8455 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.005875, allocations: 0 / 0.8455 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.00607, allocations: 466 kB / 0.8459 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.006291, allocations: 224 kB / 0.8462 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.151e-05/0.006323, allocations: 59.34 kB / 0.8462 GB, free: 5.926 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.006354, allocations: 9.234 kB / 0.8462 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.006384, allocations: 59.36 kB / 0.8463 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.006385, allocations: 0 / 0.8463 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of Templates: time 0.002251/0.008636, allocations: 332.1 kB / 0.8466 GB, free: 5.535 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_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.219511962030083]