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_bar.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_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") 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.517/1.517, allocations: 255.9 MB / 271.2 MB, free: 8.883 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.001116/0.001116, allocations: 179.3 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.755/1.755, allocations: 225.7 MB / 0.6016 GB, free: 1.5 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.0008233/0.000823, allocations: 97.28 kB / 0.709 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003938, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2642, allocations: 109.2 MB / 0.9328 GB, free: 6.227 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001099/0.2654, allocations: 0.5448 MB / 0.9333 GB, free: 5.684 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.2656, allocations: 51.78 kB / 0.9333 GB, free: 5.633 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.2656, allocations: 0 / 0.9333 GB, free: 5.633 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.2656, allocations: 3.938 kB / 0.9333 GB, free: 5.629 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2658, allocations: 11.92 kB / 0.9334 GB, free: 5.617 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 4.432e-05/0.2658, allocations: 8 kB / 0.9334 GB, free: 5.609 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.913e-05/0.2659, allocations: 67.78 kB / 0.9334 GB, free: 5.543 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.2661, allocations: 49.36 kB / 0.9335 GB, free: 5.488 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.2661, allocations: 19.8 kB / 0.9335 GB, free: 5.469 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.2662, allocations: 27.8 kB / 0.9335 GB, free: 5.441 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2662, allocations: 0 / 0.9335 GB, free: 5.441 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.2662, allocations: 4 kB / 0.9335 GB, free: 5.438 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.2663, allocations: 15.86 kB / 0.9335 GB, free: 5.422 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.2663, allocations: 53.45 kB / 0.9336 GB, free: 5.363 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.2664, allocations: 71.95 kB / 0.9337 GB, free: 5.293 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2664, allocations: 4 kB / 0.9337 GB, free: 5.289 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.826e-06/0.2665, allocations: 0 / 0.9337 GB, free: 5.289 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2665, allocations: 4 kB / 0.9337 GB, free: 5.285 MB / 0.573 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.0004019/0.2669, allocations: 375.2 kB / 0.934 GB, free: 4.867 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.2669, allocations: 11.98 kB / 0.934 GB, free: 4.855 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.267, allocations: 12.75 kB / 0.934 GB, free: 4.844 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.2672, allocations: 188.2 kB / 0.9342 GB, free: 4.621 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2672, allocations: 12.38 kB / 0.9342 GB, free: 4.609 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.2672, allocations: 8.312 kB / 0.9342 GB, free: 4.602 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.2674, allocations: 99.84 kB / 0.9343 GB, free: 4.492 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2674, allocations: 192 / 0.9343 GB, free: 4.492 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2674, allocations: 3.938 kB / 0.9343 GB, free: 4.488 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2674, allocations: 4 kB / 0.9343 GB, free: 4.484 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.2675, allocations: 39.92 kB / 0.9344 GB, free: 4.445 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.268, allocations: 452.6 kB / 0.9348 GB, free: 3.949 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.2681, allocations: 41.25 kB / 0.9349 GB, free: 3.891 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.2681, allocations: 17.78 kB / 0.9349 GB, free: 3.867 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.2681, allocations: 0 / 0.9349 GB, free: 3.867 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2682, allocations: 34.56 kB / 0.9349 GB, free: 3.824 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.2682, allocations: 0 / 0.9349 GB, free: 3.824 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0002838/0.2684, allocations: 61.47 kB / 0.935 GB, free: 3.758 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.2685, allocations: 81.05 kB / 0.935 GB, free: 3.66 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2686, allocations: 170.4 kB / 0.9352 GB, free: 3.484 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.2687, allocations: 25.7 kB / 0.9352 GB, free: 3.453 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.2687, allocations: 120.1 kB / 0.9353 GB, free: 3.332 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.2687, allocations: 3.906 kB / 0.9353 GB, free: 3.328 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.2687, allocations: 0 / 0.9353 GB, free: 3.328 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.2688, allocations: 322.8 kB / 0.9357 GB, free: 3.004 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.2688, allocations: 8 kB / 0.9357 GB, free: 2.996 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.2689, allocations: 25.64 kB / 0.9357 GB, free: 2.965 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.223e-05/0.2689, allocations: 25.72 kB / 0.9357 GB, free: 2.934 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2689, allocations: 0 / 0.9357 GB, free: 2.934 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.362e-05/0.269, allocations: 61.55 kB / 0.9358 GB, free: 2.867 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.269, allocations: 11.92 kB / 0.9358 GB, free: 2.855 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.269, allocations: 3.938 kB / 0.9358 GB, free: 2.852 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2691, allocations: 4 kB / 0.9358 GB, free: 2.848 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.209e-05/0.2691, allocations: 4 kB / 0.9358 GB, free: 2.844 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2691, allocations: 4 kB / 0.9358 GB, free: 2.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.2692, allocations: 4 kB / 0.9358 GB, free: 2.836 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.2692, allocations: 4.062 kB / 0.9358 GB, free: 2.832 MB / 0.573 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 7.295e-05/0.2693, allocations: 116.5 kB / 0.9359 GB, free: 2.711 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.2693, allocations: 11.81 kB / 0.9359 GB, free: 2.699 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.2694, allocations: 20.48 kB / 0.9359 GB, free: 2.68 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2694, allocations: 0 / 0.9359 GB, free: 2.68 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2694, allocations: 4 kB / 0.9359 GB, free: 2.676 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2694, allocations: 0 / 0.9359 GB, free: 2.676 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.2697, allocations: 478.8 kB / 0.9364 GB, free: 2.145 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2697, allocations: 7.984 kB / 0.9364 GB, free: 2.137 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.2697, allocations: 0 / 0.9364 GB, free: 2.137 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2697, allocations: 4.094 kB / 0.9364 GB, free: 2.133 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.2697, allocations: 3.984 kB / 0.9364 GB, free: 2.129 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2697, allocations: 3.938 kB / 0.9364 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2698, allocations: 0 / 0.9364 GB, free: 2.125 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.175e-05/0.2698, allocations: 81.91 kB / 0.9365 GB, free: 2.023 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.2699, allocations: 92.94 kB / 0.9366 GB, free: 1.914 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.2699, allocations: 4 kB / 0.9366 GB, free: 1.91 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.33e-05/0.2699, allocations: 3.938 kB / 0.9366 GB, free: 1.906 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.27, allocations: 0 / 0.9366 GB, free: 1.906 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.27, allocations: 0 / 0.9366 GB, free: 1.906 MB / 0.573 GB Notification: Performance of sorting global known variables: time 7.932e-05/0.2701, allocations: 134.3 kB / 0.9367 GB, free: 1.777 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2701, allocations: 0 / 0.9367 GB, free: 1.777 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001762/0.2702, allocations: 15.94 kB / 0.9367 GB, free: 1.762 MB / 0.573 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.0001186/0.2704, allocations: 106.5 kB / 0.9368 GB, free: 1.652 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 8.431e-05/0.2705, allocations: 19.94 kB / 0.9369 GB, free: 1.633 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2705, allocations: 0 / 0.9369 GB, free: 1.633 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.2705, allocations: 8 kB / 0.9369 GB, free: 1.625 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.2706, allocations: 11.94 kB / 0.9369 GB, free: 1.613 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.2709, allocations: 196.4 kB / 0.9371 GB, free: 1.395 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.2711, allocations: 0.7009 MB / 0.9378 GB, free: 0.668 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.2711, allocations: 8.422 kB / 0.9378 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.2712, allocations: 11.44 kB / 0.9378 GB, free: 0.6484 MB / 0.573 GB Notification: Performance of SimCode: time 1.9e-07/0.2712, allocations: 0 / 0.9378 GB, free: 0.6484 MB / 0.573 GB Notification: Performance of Templates: time 0.002404/0.2736, allocations: 467 kB / 0.9382 GB, free: 200 kB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)