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.001042/0.001042, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009704/0.0009704, allocations: 169 kB / 24.28 MB, free: 276 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.036/1.036, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.973/1.973, allocations: 377.8 MB / 0.6239 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] 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_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 2.094e-06/2.094e-06, allocations: 0 / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.976e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001709/0.001738, allocations: 0.8156 MB / 0.8123 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001311/0.001869, allocations: 45.38 kB / 0.8124 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.001927, allocations: 4 kB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.001965, allocations: 7.922 kB / 0.8124 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.123e-05/0.002056, allocations: 11.81 kB / 0.8124 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.083e-05/0.002107, allocations: 21 kB / 0.8124 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.002233, allocations: 59.84 kB / 0.8125 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.002376, allocations: 27.97 kB / 0.8125 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.649e-05/0.002463, allocations: 44.61 kB / 0.8125 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.002521, allocations: 15.92 kB / 0.8126 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.002545, allocations: 9.688 kB / 0.8126 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-06/0.002555, allocations: 4 kB / 0.8126 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.002579, allocations: 23.91 kB / 0.8126 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.00261, allocations: 11.94 kB / 0.8126 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.002726, allocations: 45.36 kB / 0.8126 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.002729, allocations: 3.938 kB / 0.8126 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00273, allocations: 0 / 0.8126 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.002736, allocations: 0 / 0.8126 GB, free: 0.9258 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.0004802/0.003216, allocations: 410 kB / 0.813 GB, free: 500 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.003269, allocations: 8.031 kB / 0.813 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.003324, allocations: 16.89 kB / 0.8131 GB, free: 476 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.003525, allocations: 132.5 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.003538, allocations: 9.562 kB / 0.8132 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.003553, allocations: 8.359 kB / 0.8132 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.003688, allocations: 93.45 kB / 0.8133 GB, free: 192 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.003699, allocations: 1.844 kB / 0.8133 GB, free: 192 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.003713, allocations: 4.375 kB / 0.8133 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.003727, allocations: 8.359 kB / 0.8133 GB, free: 180 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.003774, allocations: 27.8 kB / 0.8133 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.004273, allocations: 469 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.138e-05/0.004334, allocations: 54.19 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.00437, allocations: 23.47 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.004378, allocations: 0 / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.004407, allocations: 41.39 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 2.054e-06/0.004409, allocations: 0.7188 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001579/0.004567, allocations: 46.11 kB / 0.8139 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.004612, allocations: 82.77 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.004725, allocations: 185.8 kB / 0.8142 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.004736, allocations: 25.7 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.004805, allocations: 158.7 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.088e-06/0.004814, allocations: 11.89 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.004843, allocations: 23.97 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.004966, allocations: 496.6 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.004982, allocations: 4.875 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.005005, allocations: 23.38 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.005043, allocations: 28.47 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005045, allocations: 0 / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.956e-05/0.005125, allocations: 54.95 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.005142, allocations: 10.66 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.005149, allocations: 3.984 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.005165, allocations: 1.062 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.005235, allocations: 12 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.005245, allocations: 3.938 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.005263, allocations: 0.875 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.005269, allocations: 4 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.162e-05/0.005351, allocations: 157.4 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.005377, allocations: 6.125 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.005406, allocations: 11.47 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.00541, allocations: 4 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.005415, allocations: 0 / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.00542, allocations: 3.938 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.005735, allocations: 0.5426 MB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.005737, allocations: 0 / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.604e-05/0.005753, allocations: 6.594 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.005756, allocations: 0 / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.005767, allocations: 11.88 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.005769, allocations: 0 / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.00577, allocations: 3.938 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.904e-05/0.005839, allocations: 88.08 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.005858, allocations: 5.688 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.00587, allocations: 3.938 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.00588, allocations: 4 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.005897, allocations: 3.984 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.0059, allocations: 4.5 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.005955, allocations: 140.7 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005955, allocations: 0.5625 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001364/0.006091, allocations: 17.23 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.525e-05/0.006186, allocations: 91.25 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.067e-05/0.006277, allocations: 28.42 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006279, allocations: 4.656 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.817e-06/0.006287, allocations: 11.38 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.006419, allocations: 7.938 kB / 0.8161 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.006728, allocations: 166.7 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.073e-05/0.006768, allocations: 59.34 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.006797, allocations: 7.984 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.006823, allocations: 8.5 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.006824, allocations: 0 / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.002604/0.009428, allocations: 352.6 kB / 0.8167 GB, free: 12.39 MB / 0.7761 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 -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.36292125005275]