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.00946/0.00946, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001718/0.001718, allocations: 196.7 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.547/1.547, allocations: 251.7 MB / 0.5094 GB, free: 428 kB / 430.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.001508/0.001508, allocations: 67.89 kB / 0.7258 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8649, allocations: 104.7 MB / 0.8281 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002853/0.8678, allocations: 0.8544 MB / 0.8289 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.000148/0.868, allocations: 43.8 kB / 0.8289 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.8681, allocations: 4 kB / 0.8289 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.864e-05/0.8681, allocations: 7.875 kB / 0.8289 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.8682, allocations: 15.84 kB / 0.829 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 6.699e-05/0.8683, allocations: 19.98 kB / 0.829 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.8685, allocations: 67.78 kB / 0.829 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.8686, allocations: 45.38 kB / 0.8291 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 6.868e-05/0.8687, allocations: 23.88 kB / 0.8291 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.8688, allocations: 31.78 kB / 0.8291 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.8688, allocations: 8 kB / 0.8291 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.8688, allocations: 4 kB / 0.8291 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.8689, allocations: 19.92 kB / 0.8292 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.8689, allocations: 35.75 kB / 0.8292 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.8691, allocations: 95.06 kB / 0.8293 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8691, allocations: 4 kB / 0.8293 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8691, allocations: 0 / 0.8293 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.8691, allocations: 0 / 0.8293 GB, free: 1.316 MB / 0.6231 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.0005573/0.8697, allocations: 385.5 kB / 0.8297 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.8697, allocations: 8.031 kB / 0.8297 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.8698, allocations: 8.844 kB / 0.8297 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.87, allocations: 214.9 kB / 0.8299 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.87, allocations: 4.375 kB / 0.8299 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.8701, allocations: 16.31 kB / 0.8299 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.8702, allocations: 95.95 kB / 0.83 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.8703, allocations: 192 / 0.83 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.8703, allocations: 3.938 kB / 0.83 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.8703, allocations: 0 / 0.83 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/0.8704, allocations: 51.89 kB / 0.83 GB, free: 460 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.871, allocations: 440.8 kB / 0.8305 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.955e-05/0.8711, allocations: 45.23 kB / 0.8305 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.8711, allocations: 15.97 kB / 0.8305 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.8711, allocations: 0 / 0.8305 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.8711, allocations: 38.56 kB / 0.8306 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.8712, allocations: 0 / 0.8306 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002018/0.8714, allocations: 57.48 kB / 0.8306 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.8714, allocations: 81.09 kB / 0.8307 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.8716, allocations: 165.7 kB / 0.8309 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.8716, allocations: 33.7 kB / 0.8309 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.8717, allocations: 100 kB / 0.831 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/0.8717, allocations: 8.156 kB / 0.831 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.8718, allocations: 17.72 kB / 0.831 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8719, allocations: 322.8 kB / 0.8313 GB, free: 15 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.8719, allocations: 8 kB / 0.8313 GB, free: 15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.8719, allocations: 25.64 kB / 0.8313 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.872, allocations: 21.72 kB / 0.8314 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.872, allocations: 4 kB / 0.8314 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.675e-05/0.8721, allocations: 65.55 kB / 0.8314 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.8721, allocations: 8 kB / 0.8314 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8721, allocations: 7.922 kB / 0.8314 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.8721, allocations: 0 / 0.8314 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.8722, allocations: 7.984 kB / 0.8315 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.8722, allocations: 4 kB / 0.8315 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.8723, allocations: 7.844 kB / 0.8315 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.8723, allocations: 3.938 kB / 0.8315 GB, free: 14.82 MB / 0.6387 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.929e-05/0.8724, allocations: 119 kB / 0.8316 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.8724, allocations: 19.84 kB / 0.8316 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.8725, allocations: 16.44 kB / 0.8316 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8725, allocations: 4 kB / 0.8316 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8725, allocations: 0 / 0.8316 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.8725, allocations: 0 / 0.8316 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.8729, allocations: 486.7 kB / 0.8321 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8729, allocations: 0 / 0.8321 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.8729, allocations: 4 kB / 0.8321 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.873, allocations: 3.984 kB / 0.8321 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.873, allocations: 0 / 0.8321 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.873, allocations: 3.938 kB / 0.8321 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.873, allocations: 0 / 0.8321 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.648e-05/0.8731, allocations: 85.88 kB / 0.8322 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.8731, allocations: 89 kB / 0.8323 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.8732, allocations: 0 / 0.8323 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.361e-05/0.8732, allocations: 0 / 0.8323 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.8732, allocations: 4 kB / 0.8323 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.8732, allocations: 0 / 0.8323 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.527e-05/0.8733, allocations: 125.8 kB / 0.8324 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8733, allocations: 4 kB / 0.8324 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001794/0.8735, allocations: 4 kB / 0.8324 GB, free: 13.77 MB / 0.6387 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 0.0001372/0.8737, allocations: 107.3 kB / 0.8325 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.8738, allocations: 19.94 kB / 0.8325 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8738, allocations: 0 / 0.8325 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.8738, allocations: 8 kB / 0.8325 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.874, allocations: 19.81 kB / 0.8325 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.8743, allocations: 170.5 kB / 0.8327 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.8746, allocations: 0.7044 MB / 0.8334 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.413e-05/0.8746, allocations: 4.438 kB / 0.8334 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.8747, allocations: 11.44 kB / 0.8334 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.8747, allocations: 0 / 0.8334 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of Templates: time 0.002855/0.8775, allocations: 0.4926 MB / 0.8339 GB, free: 12.17 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (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)