Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 255.9 MB / 271.2 MB, free: 8.891 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.001244/0.001244, allocations: 194.4 kB / 330.8 MB, free: 468 kB / 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 1.985/1.985, allocations: 225.7 MB / 0.6016 GB, free: 15.93 MB / 442.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.0007582/0.0007585, allocations: 109.4 kB / 0.709 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003824, allocations: 8.594 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2565, allocations: 109.2 MB / 0.9328 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001013/0.2576, allocations: 0.541 MB / 0.9333 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001089/0.2577, allocations: 43.78 kB / 0.9333 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.2577, allocations: 0 / 0.9333 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.2578, allocations: 7.922 kB / 0.9333 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.931e-05/0.2579, allocations: 7.938 kB / 0.9333 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.122e-05/0.2579, allocations: 19.98 kB / 0.9334 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.873e-05/0.258, allocations: 63.78 kB / 0.9334 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.2582, allocations: 37.38 kB / 0.9335 GB, free: 23.37 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.2582, allocations: 23.88 kB / 0.9335 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.2583, allocations: 27.78 kB / 0.9335 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.2583, allocations: 4 kB / 0.9335 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.665e-06/0.2583, allocations: 0 / 0.9335 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.2584, allocations: 11.92 kB / 0.9335 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.2584, allocations: 53.45 kB / 0.9336 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.888e-05/0.2585, allocations: 75.95 kB / 0.9336 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2585, allocations: 3.984 kB / 0.9337 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2585, allocations: 0 / 0.9337 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2585, allocations: 0 / 0.9337 GB, free: 23.16 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.0003596/0.2589, allocations: 375.2 kB / 0.934 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2589, allocations: 11.98 kB / 0.934 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.259, allocations: 16.75 kB / 0.934 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.2591, allocations: 192.2 kB / 0.9342 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2592, allocations: 4.375 kB / 0.9342 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2592, allocations: 12.38 kB / 0.9342 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.2593, allocations: 91.8 kB / 0.9343 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.2594, allocations: 8.172 kB / 0.9343 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2594, allocations: 7.938 kB / 0.9343 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2594, allocations: 7.938 kB / 0.9343 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.2595, allocations: 35.98 kB / 0.9344 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.26, allocations: 448.5 kB / 0.9348 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/0.26, allocations: 37.16 kB / 0.9348 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.2601, allocations: 17.94 kB / 0.9349 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.948e-06/0.2601, allocations: 7.922 kB / 0.9349 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.2601, allocations: 34.56 kB / 0.9349 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.2601, allocations: 0 / 0.9349 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.00019/0.2603, allocations: 61.48 kB / 0.935 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.2603, allocations: 85.05 kB / 0.935 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.2605, allocations: 165.2 kB / 0.9352 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.2605, allocations: 29.7 kB / 0.9352 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.2605, allocations: 111.9 kB / 0.9353 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.846e-06/0.2606, allocations: 7.891 kB / 0.9353 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.2606, allocations: 4 kB / 0.9353 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/0.2606, allocations: 323.1 kB / 0.9357 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.2607, allocations: 7.984 kB / 0.9357 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.2607, allocations: 17.72 kB / 0.9357 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.2607, allocations: 29.66 kB / 0.9357 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2607, allocations: 4 kB / 0.9357 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.921e-05/0.2608, allocations: 53.59 kB / 0.9358 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2608, allocations: 12.06 kB / 0.9358 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2608, allocations: 3.938 kB / 0.9358 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2609, allocations: 0 / 0.9358 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.135e-05/0.2609, allocations: 15.94 kB / 0.9358 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2609, allocations: 4 kB / 0.9358 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.261, allocations: 0 / 0.9358 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.261, allocations: 0 / 0.9358 GB, free: 20.71 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.2611, allocations: 118.5 kB / 0.9359 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.2611, allocations: 15.81 kB / 0.9359 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.2611, allocations: 16.5 kB / 0.9359 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2611, allocations: 4 kB / 0.9359 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2612, allocations: 0 / 0.9359 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2612, allocations: 0 / 0.9359 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.2615, allocations: 478.8 kB / 0.9364 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2615, allocations: 0 / 0.9364 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.2615, allocations: 4 kB / 0.9364 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2615, allocations: 4.062 kB / 0.9364 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.2615, allocations: 0 / 0.9364 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2615, allocations: 0 / 0.9364 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2616, allocations: 3.938 kB / 0.9364 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.732e-05/0.2616, allocations: 89.77 kB / 0.9365 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.2617, allocations: 88.95 kB / 0.9366 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2617, allocations: 3.984 kB / 0.9366 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.346e-05/0.2617, allocations: 7.969 kB / 0.9366 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.2618, allocations: 0 / 0.9366 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.2618, allocations: 8 kB / 0.9366 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.441e-05/0.2618, allocations: 122.3 kB / 0.9367 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2619, allocations: 0 / 0.9367 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001861/0.262, allocations: 11.91 kB / 0.9367 GB, free: 19.64 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 (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.0001196/0.2622, allocations: 103.2 kB / 0.9368 GB, free: 19.53 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.451e-05/0.2623, allocations: 31.92 kB / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2623, allocations: 0 / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.2623, allocations: 4 kB / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.2624, allocations: 11.94 kB / 0.9369 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.2627, allocations: 192.5 kB / 0.9371 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.2629, allocations: 0.6965 MB / 0.9377 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.2629, allocations: 8.422 kB / 0.9377 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.263, allocations: 11.44 kB / 0.9378 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.263, allocations: 4 kB / 0.9378 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of Templates: time 0.00226/0.2652, allocations: 464 kB / 0.9382 GB, free: 18.07 MB / 0.5886 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)