Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001139/0.001139, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001012/0.001012, allocations: 169 kB / 24.28 MB, free: 280 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 0.9764/0.9764, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.919/1.919, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.286e-05/3.518e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002662/0.002697, allocations: 0.8164 MB / 0.8123 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001928/0.00289, allocations: 48.69 kB / 0.8124 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.002972, allocations: 0 / 0.8124 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.92e-05/0.003031, allocations: 11.86 kB / 0.8124 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.003148, allocations: 8.531 kB / 0.8124 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.003289, allocations: 20.84 kB / 0.8124 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.003435, allocations: 63.84 kB / 0.8125 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.003601, allocations: 27.97 kB / 0.8125 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.003711, allocations: 45.08 kB / 0.8125 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.003757, allocations: 15.92 kB / 0.8126 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.003782, allocations: 5.5 kB / 0.8126 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-06/0.00379, allocations: 8 kB / 0.8126 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.003815, allocations: 19.91 kB / 0.8126 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.003849, allocations: 15.94 kB / 0.8126 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.003997, allocations: 49.23 kB / 0.8127 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.004004, allocations: 0 / 0.8127 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.815e-06/0.004007, allocations: 0 / 0.8127 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.004014, allocations: 0 / 0.8127 GB, free: 0.9375 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.0005293/0.004543, allocations: 409 kB / 0.813 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.004596, allocations: 8.031 kB / 0.8131 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.004643, allocations: 17.92 kB / 0.8131 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.004811, allocations: 136.4 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.004824, allocations: 9.656 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.004836, allocations: 4.375 kB / 0.8132 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.004956, allocations: 96.25 kB / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.004964, allocations: 4.188 kB / 0.8133 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.004977, allocations: 5 kB / 0.8133 GB, free: 196 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.004986, allocations: 1.5 kB / 0.8133 GB, free: 196 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.005039, allocations: 31.8 kB / 0.8133 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.00545, allocations: 463.1 kB / 0.8138 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.213e-05/0.005502, allocations: 58.31 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.005531, allocations: 20.16 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.005538, allocations: 1.281 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.00556, allocations: 37.39 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.005561, allocations: 0 / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.005703, allocations: 55.44 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.005739, allocations: 77.11 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.005838, allocations: 192.3 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.005846, allocations: 25.7 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.005908, allocations: 160.1 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.675e-06/0.005916, allocations: 7.891 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.005942, allocations: 27.31 kB / 0.8144 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0009153/0.006858, allocations: 0.4884 MB / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.006892, allocations: 7.438 kB / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.41e-05/0.006916, allocations: 23.38 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.006957, allocations: 23.38 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.006966, allocations: 0 / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.894e-05/0.007054, allocations: 57.58 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.007074, allocations: 8 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.007082, allocations: 0.6562 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.0071, allocations: 0 / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.007178, allocations: 4.5 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.007188, allocations: 8.5 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.007205, allocations: 0 / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.007209, allocations: 0.5625 kB / 0.815 GB, free: 14.27 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.339e-05/0.007293, allocations: 162 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.007315, allocations: 7.938 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.007341, allocations: 7.469 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007343, allocations: 0.5312 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.007348, allocations: 4 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.007354, allocations: 12.5 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.007637, allocations: 0.544 MB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.007639, allocations: 0 / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.083e-05/0.00765, allocations: 4 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.007651, allocations: 0 / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.00766, allocations: 7.938 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007661, allocations: 0.5312 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007662, allocations: 4.719 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.026e-05/0.007722, allocations: 84.89 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.007738, allocations: 4 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.007748, allocations: 8.875 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.007757, allocations: 3.984 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.007772, allocations: 3.938 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.007774, allocations: 1.344 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.00782, allocations: 139.2 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.00782, allocations: 0 / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001297/0.00795, allocations: 16.83 kB / 0.816 GB, free: 13.19 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.007e-05/0.00804, allocations: 97.56 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.405e-05/0.008114, allocations: 23.67 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008116, allocations: 0 / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-06/0.008125, allocations: 15.62 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.008236, allocations: 6.922 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.008501, allocations: 166.7 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.008536, allocations: 64.47 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.008564, allocations: 3.984 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.008588, allocations: 12.5 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.008588, allocations: 1.094 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.001884/0.01047, allocations: 346.3 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.223268592031673]