Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.749/1.749, allocations: 291.7 MB / 306.8 MB, free: 7.699 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 186.2 kB / 375.4 MB, free: 5.113 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008563/0.0008563, allocations: 103.8 kB / 0.7699 GB, free: 50.22 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004406, allocations: 12 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.856, allocations: 118.1 MB / 1.011 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001765/0.8579, allocations: 0.5288 MB / 1.011 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002086/0.8582, allocations: 41.88 kB / 1.011 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.573e-05/0.8583, allocations: 7 kB / 1.011 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.8583, allocations: 7.172 kB / 1.011 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.8585, allocations: 5.344 kB / 1.011 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.364e-05/0.8585, allocations: 16.97 kB / 1.011 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.8587, allocations: 62.77 kB / 1.012 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.8589, allocations: 42.22 kB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.303e-05/0.859, allocations: 16.27 kB / 1.012 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.8591, allocations: 31.48 kB / 1.012 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.8591, allocations: 0 / 1.012 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.8592, allocations: 3.062 kB / 1.012 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.8592, allocations: 13.34 kB / 1.012 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.8592, allocations: 36.27 kB / 1.012 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.8594, allocations: 59.2 kB / 1.012 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.8594, allocations: 0 / 1.012 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.108e-06/0.8594, allocations: 0 / 1.012 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.8594, allocations: 3.125 kB / 1.012 GB, free: 57.42 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.0006855/0.8601, allocations: 372.2 kB / 1.012 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.809e-05/0.8602, allocations: 8.969 kB / 1.012 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.8603, allocations: 9.656 kB / 1.012 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.8606, allocations: 199.2 kB / 1.012 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.8606, allocations: 3.406 kB / 1.012 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.8606, allocations: 14.25 kB / 1.012 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.8609, allocations: 97.06 kB / 1.012 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.8609, allocations: 192 / 1.012 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.8609, allocations: 6.938 kB / 1.012 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.8609, allocations: 0.5 kB / 1.012 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.861, allocations: 42.91 kB / 1.012 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007705/0.8618, allocations: 441.7 kB / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.324e-05/0.8619, allocations: 41.22 kB / 1.013 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/0.862, allocations: 18.11 kB / 1.013 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.862, allocations: 2.062 kB / 1.013 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.862, allocations: 35.28 kB / 1.013 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.862, allocations: 1.656 kB / 1.013 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002431/0.8623, allocations: 61.2 kB / 1.013 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.8624, allocations: 82.17 kB / 1.013 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.8626, allocations: 169.9 kB / 1.013 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.8626, allocations: 28.14 kB / 1.013 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.8627, allocations: 106.2 kB / 1.013 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.8627, allocations: 4.922 kB / 1.013 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.8627, allocations: 0 / 1.013 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.8628, allocations: 321.4 kB / 1.014 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.8628, allocations: 7.188 kB / 1.014 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.8629, allocations: 31.53 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.8629, allocations: 23.69 kB / 1.014 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.8629, allocations: 0.5 kB / 1.014 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.139e-05/0.863, allocations: 65.14 kB / 1.014 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.8631, allocations: 4.094 kB / 1.014 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.8631, allocations: 4.969 kB / 1.014 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.8631, allocations: 6.062 kB / 1.014 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.8632, allocations: 7.344 kB / 1.014 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.8632, allocations: 0 / 1.014 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.8633, allocations: 17.95 kB / 1.014 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.8633, allocations: 0 / 1.014 GB, free: 55.54 MB / 0.7136 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 9.161e-05/0.8634, allocations: 119.2 kB / 1.014 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.8634, allocations: 6.562 kB / 1.014 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.8635, allocations: 22.27 kB / 1.014 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.8635, allocations: 0 / 1.014 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.8635, allocations: 0 / 1.014 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.8635, allocations: 3.219 kB / 1.014 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.864, allocations: 482.4 kB / 1.014 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.864, allocations: 1.969 kB / 1.014 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.864, allocations: 3.219 kB / 1.014 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.864, allocations: 0.5625 kB / 1.014 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.864, allocations: 1.062 kB / 1.014 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.864, allocations: 6.531 kB / 1.015 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.864, allocations: 2 kB / 1.015 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.19e-05/0.8641, allocations: 84.64 kB / 1.015 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.8642, allocations: 90.55 kB / 1.015 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.8642, allocations: 8 kB / 1.015 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.521e-05/0.8642, allocations: 1.688 kB / 1.015 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.8643, allocations: 1.734 kB / 1.015 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.8643, allocations: 2.75 kB / 1.015 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.639e-05/0.8644, allocations: 125.8 kB / 1.015 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8644, allocations: 0 / 1.015 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001831/0.8646, allocations: 14.03 kB / 1.015 GB, free: 54.68 MB / 0.7136 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.0001565/0.8647, allocations: 103.6 kB / 1.015 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.8648, allocations: 20.91 kB / 1.015 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8649, allocations: 0 / 1.015 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.8649, allocations: 12.66 kB / 1.015 GB, free: 54.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.8651, allocations: 13.62 kB / 1.015 GB, free: 54.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.8655, allocations: 196.4 kB / 1.015 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.8657, allocations: 0.6962 MB / 1.016 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.056e-05/0.8657, allocations: 8.469 kB / 1.016 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.8657, allocations: 14 kB / 1.016 GB, free: 53.72 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8657, allocations: 0 / 1.016 GB, free: 53.72 MB / 0.7136 GB Notification: Performance of Templates: time 0.002717/0.8685, allocations: 442.7 kB / 1.016 GB, free: 53.71 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)