Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009405/0.0009406, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.603/1.603, allocations: 252 MB / 0.5102 GB, free: 4.75 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005803/0.0005808, allocations: 23.98 kB / 0.6243 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.567/0.5676, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001054/0.5687, allocations: 0.5539 MB / 0.7287 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001083/0.5688, allocations: 55.64 kB / 0.7287 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.5689, allocations: 0 / 0.7287 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.5689, allocations: 3.938 kB / 0.7287 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.376e-05/0.569, allocations: 3.938 kB / 0.7287 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.845e-05/0.5691, allocations: 15.98 kB / 0.7287 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.5692, allocations: 59.84 kB / 0.7288 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.5693, allocations: 45.48 kB / 0.7288 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.5694, allocations: 11.88 kB / 0.7289 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.5694, allocations: 27.8 kB / 0.7289 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.5695, allocations: 0 / 0.7289 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.5695, allocations: 4 kB / 0.7289 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.5695, allocations: 11.92 kB / 0.7289 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.5695, allocations: 37.64 kB / 0.7289 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.79e-05/0.5696, allocations: 61.83 kB / 0.729 GB, free: 10.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5696, allocations: 0 / 0.729 GB, free: 10.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5696, allocations: 0 / 0.729 GB, free: 10.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.5697, allocations: 0 / 0.729 GB, free: 10.49 MB / 0.545 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.0004147/0.5701, allocations: 375 kB / 0.7294 GB, free: 10.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.5701, allocations: 8.031 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.5702, allocations: 11.81 kB / 0.7294 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.5704, allocations: 197.7 kB / 0.7296 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.5704, allocations: 12 kB / 0.7296 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.5704, allocations: 4 kB / 0.7296 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.5706, allocations: 99.23 kB / 0.7297 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5706, allocations: 0 / 0.7297 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5706, allocations: 4 kB / 0.7297 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.5706, allocations: 4 kB / 0.7297 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.508e-05/0.5707, allocations: 39.92 kB / 0.7297 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.5712, allocations: 444.6 kB / 0.7301 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.495e-05/0.5713, allocations: 41.25 kB / 0.7302 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.5713, allocations: 21.77 kB / 0.7302 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.5714, allocations: 4 kB / 0.7302 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.5714, allocations: 30.56 kB / 0.7302 GB, free: 9.039 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5714, allocations: 0 / 0.7302 GB, free: 9.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001785/0.5716, allocations: 57.45 kB / 0.7303 GB, free: 8.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.5716, allocations: 81.11 kB / 0.7304 GB, free: 8.879 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.5718, allocations: 172.7 kB / 0.7305 GB, free: 8.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.5718, allocations: 25.7 kB / 0.7306 GB, free: 8.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.5719, allocations: 112.3 kB / 0.7307 GB, free: 8.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-06/0.5719, allocations: 7.844 kB / 0.7307 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.5719, allocations: 3.938 kB / 0.7307 GB, free: 8.543 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.572, allocations: 322.8 kB / 0.731 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.5721, allocations: 4 kB / 0.731 GB, free: 8.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.5721, allocations: 21.72 kB / 0.731 GB, free: 8.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.5721, allocations: 11.94 kB / 0.731 GB, free: 8.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5721, allocations: 4 kB / 0.731 GB, free: 8.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.466e-05/0.5722, allocations: 61.55 kB / 0.7311 GB, free: 8.105 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5722, allocations: 5.562 kB / 0.7311 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5722, allocations: 0 / 0.7311 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5723, allocations: 4 kB / 0.7311 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.5723, allocations: 7.938 kB / 0.7311 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5724, allocations: 0 / 0.7311 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.472e-05/0.5724, allocations: 19.84 kB / 0.7311 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.5724, allocations: 0 / 0.7311 GB, free: 8.07 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.641e-05/0.5725, allocations: 117.9 kB / 0.7312 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.5725, allocations: 15.84 kB / 0.7312 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.5726, allocations: 8.562 kB / 0.7313 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5726, allocations: 0 / 0.7313 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5726, allocations: 0 / 0.7313 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5726, allocations: 4 kB / 0.7313 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.573, allocations: 482.8 kB / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.573, allocations: 0 / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.573, allocations: 4 kB / 0.7317 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.573, allocations: 0 / 0.7317 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.573, allocations: 4 kB / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.573, allocations: 0 / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.573, allocations: 0 / 0.7317 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.5731, allocations: 89.94 kB / 0.7318 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.5732, allocations: 92.91 kB / 0.7319 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.5732, allocations: 7.984 kB / 0.7319 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.193e-05/0.5733, allocations: 0 / 0.7319 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.5733, allocations: 0 / 0.7319 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.5733, allocations: 0 / 0.7319 GB, free: 7.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.682e-05/0.5734, allocations: 128 kB / 0.732 GB, free: 7.027 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5734, allocations: 0 / 0.732 GB, free: 7.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001822/0.5736, allocations: 8 kB / 0.732 GB, free: 7.02 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.5737, allocations: 103.2 kB / 0.7321 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.273e-05/0.5738, allocations: 23.92 kB / 0.7322 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5738, allocations: 0 / 0.7322 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.425e-05/0.5738, allocations: 8 kB / 0.7322 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.574, allocations: 15.89 kB / 0.7322 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.5743, allocations: 190.2 kB / 0.7324 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.5746, allocations: 0.6965 MB / 0.733 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.017e-05/0.5746, allocations: 12.42 kB / 0.7331 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.5746, allocations: 11.44 kB / 0.7331 GB, free: 5.902 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5746, allocations: 3.938 kB / 0.7331 GB, free: 5.898 MB / 0.545 GB Notification: Performance of Templates: time 0.002481/0.5771, allocations: 443.8 kB / 0.7335 GB, free: 5.465 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) Environment - environmentSimulation: