Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009883/0.0009883, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001085/0.001085, allocations: 161 kB / 24.17 MB, free: 332 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 1.003/1.003, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.989/1.989, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.556e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001523/0.001548, allocations: 0.8734 MB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.001682, allocations: 50.22 kB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.001726, allocations: 4 kB / 0.761 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.001759, allocations: 12.77 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.00183, allocations: 5.797 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.862e-05/0.001868, allocations: 15.98 kB / 0.761 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.919e-05/0.001957, allocations: 69.72 kB / 0.7611 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.002059, allocations: 27.95 kB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.67e-05/0.002155, allocations: 50.66 kB / 0.7611 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.002197, allocations: 19.91 kB / 0.7612 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.002212, allocations: 4 kB / 0.7612 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.002219, allocations: 4 kB / 0.7612 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.002238, allocations: 16.52 kB / 0.7612 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.002261, allocations: 15.98 kB / 0.7612 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.825e-05/0.002339, allocations: 36.41 kB / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002341, allocations: 2.062 kB / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002342, allocations: 4 kB / 0.7612 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.002345, allocations: 0 / 0.7612 GB, free: 5.426 MB / 0.7136 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.0002693/0.002615, allocations: 288.5 kB / 0.7615 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.002645, allocations: 8.031 kB / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.002668, allocations: 13.67 kB / 0.7615 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.002782, allocations: 137.5 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.00279, allocations: 5.125 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.002799, allocations: 8.375 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.577e-05/0.002884, allocations: 84.58 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.002891, allocations: 192 / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.002898, allocations: 2.562 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.002903, allocations: 4.375 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.509e-05/0.002928, allocations: 15.94 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.003251, allocations: 0.4932 MB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.018e-05/0.003312, allocations: 189.2 kB / 0.7624 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.003335, allocations: 81.7 kB / 0.7625 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.003353, allocations: 79.27 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.003389, allocations: 105.8 kB / 0.7627 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.00339, allocations: 4 kB / 0.7627 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.365e-05/0.003434, allocations: 26.95 kB / 0.7627 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.003473, allocations: 130.6 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.003555, allocations: 149 kB / 0.763 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.124e-06/0.003562, allocations: 26.89 kB / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.003614, allocations: 131.7 kB / 0.7631 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.003616, allocations: 0 / 0.7631 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.003641, allocations: 25.67 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.003717, allocations: 325.6 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-06/0.003723, allocations: 4 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.003754, allocations: 58.89 kB / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.277e-05/0.003807, allocations: 69.48 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.003809, allocations: 0 / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.858e-05/0.003898, allocations: 74.33 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.003913, allocations: 9 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.003919, allocations: 4 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.00393, allocations: 4 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.289e-05/0.003972, allocations: 16.86 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.003975, allocations: 0 / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.003995, allocations: 8.5 kB / 0.7637 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.003999, allocations: 4 kB / 0.7637 GB, free: 2.668 MB / 0.7136 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 7e-05/0.004069, allocations: 200.4 kB / 0.7639 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.004108, allocations: 109 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.004143, allocations: 112.7 kB / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/0.004181, allocations: 180.3 kB / 0.7643 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.8e-05/0.004219, allocations: 176.3 kB / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.793e-05/0.004257, allocations: 188.2 kB / 0.7646 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.004384, allocations: 333.3 kB / 0.765 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/0.00441, allocations: 104.9 kB / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.508e-05/0.004435, allocations: 107.9 kB / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.974e-05/0.004474, allocations: 176.3 kB / 0.7653 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.004514, allocations: 180.2 kB / 0.7655 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-05/0.004555, allocations: 188.2 kB / 0.7657 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.608e-05/0.004591, allocations: 180.2 kB / 0.7659 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.985e-05/0.00468, allocations: 307.7 kB / 0.7661 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.004728, allocations: 116.9 kB / 0.7663 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.00477, allocations: 176.3 kB / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.665e-05/0.004817, allocations: 106.9 kB / 0.7665 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.004861, allocations: 184.3 kB / 0.7667 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.004887, allocations: 112.9 kB / 0.7668 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.517e-05/0.004912, allocations: 35 kB / 0.7668 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.004912, allocations: 2.594 kB / 0.7668 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001299/0.005042, allocations: 7.953 kB / 0.7669 GB, free: 15.29 MB / 0.7292 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.118e-05/0.005123, allocations: 151.7 kB / 0.767 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.546e-05/0.005178, allocations: 32.62 kB / 0.767 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.005184, allocations: 8 kB / 0.767 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.005185, allocations: 0 / 0.767 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.005382, allocations: 463.6 kB / 0.7675 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002/0.005582, allocations: 223.9 kB / 0.7677 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.002e-05/0.005612, allocations: 59.34 kB / 0.7678 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.005643, allocations: 11.91 kB / 0.7678 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.00567, allocations: 51.38 kB / 0.7678 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.005671, allocations: 0 / 0.7678 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.001643/0.007313, allocations: 337.6 kB / 0.7681 GB, free: 13.93 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.140444186981767]