Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.477/2.477, allocations: 254.9 MB / 269.9 MB, free: 9.641 MB / 218.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.002704/0.002703, allocations: 200 kB / 329.5 MB, free: 1.176 MB / 250.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 2.414/2.414, allocations: 225.6 MB / 0.6001 GB, free: 0.5469 MB / 426.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.00103/0.00103, allocations: 91.52 kB / 0.7074 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004815, allocations: 18.56 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2491, allocations: 109.1 MB / 0.9308 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001098/0.2503, allocations: 0.5332 MB / 0.9313 GB, free: 24.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000135/0.2504, allocations: 43.78 kB / 0.9313 GB, free: 24.33 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.2505, allocations: 0 / 0.9313 GB, free: 24.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.2505, allocations: 15.86 kB / 0.9313 GB, free: 24.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.707e-05/0.2507, allocations: 3.938 kB / 0.9314 GB, free: 24.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.456e-05/0.2507, allocations: 15.98 kB / 0.9314 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.2508, allocations: 67.75 kB / 0.9314 GB, free: 24.23 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.251, allocations: 41.56 kB / 0.9315 GB, free: 24.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.342e-05/0.2511, allocations: 27.8 kB / 0.9315 GB, free: 24.15 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.2511, allocations: 23.8 kB / 0.9315 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.2511, allocations: 0 / 0.9315 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.2512, allocations: 4 kB / 0.9315 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.2512, allocations: 3.938 kB / 0.9315 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.2512, allocations: 37.64 kB / 0.9316 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.721e-05/0.2513, allocations: 59.86 kB / 0.9316 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2513, allocations: 0 / 0.9316 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2513, allocations: 0 / 0.9316 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5e-06/0.2513, allocations: 0 / 0.9316 GB, free: 24.02 MB / 0.5886 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.0003815/0.2517, allocations: 379.5 kB / 0.932 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2518, allocations: 11.97 kB / 0.932 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.2518, allocations: 16.75 kB / 0.932 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.252, allocations: 184.3 kB / 0.9322 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.2521, allocations: 4.375 kB / 0.9322 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.2521, allocations: 8.375 kB / 0.9322 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.2523, allocations: 107.8 kB / 0.9323 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2523, allocations: 3.938 kB / 0.9323 GB, free: 23.22 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.2523, allocations: 4 kB / 0.9323 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.2524, allocations: 4 kB / 0.9323 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.2525, allocations: 39.92 kB / 0.9323 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.2531, allocations: 444.7 kB / 0.9328 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.396e-05/0.2532, allocations: 45.25 kB / 0.9328 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.2532, allocations: 13.78 kB / 0.9328 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.2532, allocations: 0 / 0.9328 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.2533, allocations: 34.56 kB / 0.9329 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.2533, allocations: 4 kB / 0.9329 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002077/0.2535, allocations: 69.38 kB / 0.9329 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.2535, allocations: 77.11 kB / 0.933 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.2537, allocations: 166.6 kB / 0.9332 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.2537, allocations: 25.7 kB / 0.9332 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.2538, allocations: 108 kB / 0.9333 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.2538, allocations: 7.844 kB / 0.9333 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.2538, allocations: 4.25 kB / 0.9333 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.2539, allocations: 326.8 kB / 0.9336 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.2539, allocations: 7.938 kB / 0.9336 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.254, allocations: 21.7 kB / 0.9336 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.254, allocations: 11.94 kB / 0.9337 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.254, allocations: 0 / 0.9337 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001131/0.2542, allocations: 57.61 kB / 0.9337 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2542, allocations: 12 kB / 0.9337 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2542, allocations: 3.984 kB / 0.9337 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2542, allocations: 4 kB / 0.9337 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.2543, allocations: 7.938 kB / 0.9337 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2544, allocations: 0 / 0.9337 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.2544, allocations: 7.906 kB / 0.9337 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.2544, allocations: 0 / 0.9337 GB, free: 21.59 MB / 0.5886 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.378e-05/0.2545, allocations: 114.4 kB / 0.9339 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.2546, allocations: 11.84 kB / 0.9339 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.2546, allocations: 20.55 kB / 0.9339 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2546, allocations: 0 / 0.9339 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2546, allocations: 3.938 kB / 0.9339 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2547, allocations: 4 kB / 0.9339 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.2551, allocations: 470.8 kB / 0.9343 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2551, allocations: 4 kB / 0.9343 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.2551, allocations: 3.984 kB / 0.9343 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2552, allocations: 4.062 kB / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/0.2552, allocations: 4 kB / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2552, allocations: 0 / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2552, allocations: 0 / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.839e-05/0.2553, allocations: 85.78 kB / 0.9344 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.2554, allocations: 88.91 kB / 0.9345 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.2554, allocations: 4 kB / 0.9345 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.2554, allocations: 8.031 kB / 0.9345 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.2555, allocations: 0 / 0.9345 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.2555, allocations: 0 / 0.9345 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001016/0.2556, allocations: 129.3 kB / 0.9347 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2556, allocations: 0 / 0.9347 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000233/0.2558, allocations: 11.94 kB / 0.9347 GB, free: 20.53 MB / 0.5886 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.0001081/0.256, allocations: 103.2 kB / 0.9348 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.2561, allocations: 23.94 kB / 0.9348 GB, free: 20.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2561, allocations: 3.938 kB / 0.9348 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.116e-05/0.2561, allocations: 4 kB / 0.9348 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.2563, allocations: 14 kB / 0.9348 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.2567, allocations: 198.2 kB / 0.935 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.2569, allocations: 0.6965 MB / 0.9357 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.801e-05/0.2569, allocations: 12.5 kB / 0.9357 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.257, allocations: 15.38 kB / 0.9357 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.257, allocations: 4 kB / 0.9357 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.003195/0.2602, allocations: 447.8 kB / 0.9361 GB, free: 18.96 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)