Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.245/2.245, allocations: 255 MB / 269.9 MB, free: 9.633 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.001361/0.001361, allocations: 189.4 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.768/2.768, allocations: 225.6 MB / 0.6001 GB, free: 2.148 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.002725/0.002725, allocations: 100.2 kB / 0.7074 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006777/0.000678, allocations: 17.59 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2469, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001518/0.2485, allocations: 1.124 MB / 0.9319 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000295/0.2488, allocations: 119.7 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.2488, allocations: 3.938 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.2489, allocations: 0 / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.148e-05/0.249, allocations: 7.938 kB / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.751e-05/0.249, allocations: 7.984 kB / 0.932 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.2491, allocations: 35.92 kB / 0.9321 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2492, allocations: 11.98 kB / 0.9321 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.2493, allocations: 15.92 kB / 0.9321 GB, free: 23.78 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.2494, allocations: 19.91 kB / 0.9321 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.2494, allocations: 4 kB / 0.9321 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.2494, allocations: 0 / 0.9321 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.2494, allocations: 11.94 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.2495, allocations: 29.69 kB / 0.9321 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.952e-05/0.2495, allocations: 23.94 kB / 0.9322 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2495, allocations: 4 kB / 0.9322 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2495, allocations: 0 / 0.9322 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2496, allocations: 3.938 kB / 0.9322 GB, free: 23.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005822/0.2502, allocations: 371.6 kB / 0.9325 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2502, allocations: 8.031 kB / 0.9325 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.2502, allocations: 0.9375 kB / 0.9325 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.048e-05/0.2503, allocations: 168.3 kB / 0.9327 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2504, allocations: 8.359 kB / 0.9327 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.2504, allocations: 4.375 kB / 0.9327 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.2507, allocations: 78.16 kB / 0.9328 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2508, allocations: 4.188 kB / 0.9328 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2508, allocations: 3.938 kB / 0.9328 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2508, allocations: 4 kB / 0.9328 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/0.2513, allocations: 87.92 kB / 0.9329 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.2517, allocations: 264.9 kB / 0.9331 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.252, allocations: 74.42 kB / 0.9332 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.2523, allocations: 48.91 kB / 0.9333 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.2523, allocations: 0 / 0.9333 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.2523, allocations: 38.56 kB / 0.9333 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.2524, allocations: 0 / 0.9333 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0008642/0.2532, allocations: 153.6 kB / 0.9334 GB, free: 22.22 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.2533, allocations: 55.34 kB / 0.9335 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.2534, allocations: 113.8 kB / 0.9336 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.2534, allocations: 33.7 kB / 0.9336 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.2534, allocations: 88.03 kB / 0.9337 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.2535, allocations: 11.89 kB / 0.9337 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.2535, allocations: 0 / 0.9337 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.2535, allocations: 314.8 kB / 0.934 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.2538, allocations: 43.95 kB / 0.9341 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.2541, allocations: 39.97 kB / 0.9341 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.2543, allocations: 47.95 kB / 0.9341 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.2544, allocations: 3.938 kB / 0.9342 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005575/0.2549, allocations: 117.6 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2549, allocations: 4 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.255, allocations: 336 / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.255, allocations: 0 / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.2552, allocations: 19.98 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2552, allocations: 7.938 kB / 0.9343 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.2554, allocations: 19.98 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.2554, allocations: 3.984 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.044e-05/0.2555, allocations: 113.8 kB / 0.9344 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.2555, allocations: 7.891 kB / 0.9344 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.2556, allocations: 11.91 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2556, allocations: 4 kB / 0.9345 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2556, allocations: 3.938 kB / 0.9345 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2556, allocations: 0 / 0.9345 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.2558, allocations: 173.6 kB / 0.9346 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2558, allocations: 0 / 0.9346 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.256, allocations: 23.98 kB / 0.9346 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.256, allocations: 0 / 0.9346 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.256, allocations: 0 / 0.9346 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.256, allocations: 0 / 0.9346 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.256, allocations: 4 kB / 0.9346 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005718/0.2566, allocations: 219.4 kB / 0.9349 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.2566, allocations: 92.94 kB / 0.9349 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.2567, allocations: 0 / 0.9349 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.2568, allocations: 15.98 kB / 0.935 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.2569, allocations: 7.922 kB / 0.935 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.2569, allocations: 4 kB / 0.935 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.925e-05/0.257, allocations: 87.28 kB / 0.9351 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.51e-07/0.257, allocations: 0 / 0.9351 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000266/0.2573, allocations: 8 kB / 0.9351 GB, free: 20.41 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001226/0.2574, allocations: 103.8 kB / 0.9352 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005828/0.258, allocations: 87.92 kB / 0.9352 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.258, allocations: 0 / 0.9352 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.2583, allocations: 55.89 kB / 0.9353 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.2587, allocations: 11.94 kB / 0.9353 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.259, allocations: 132.7 kB / 0.9354 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2592, allocations: 0.6848 MB / 0.9361 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.42e-05/0.2592, allocations: 0 / 0.9361 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.2593, allocations: 7.438 kB / 0.9361 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of SimCode: time 8.21e-07/0.2593, allocations: 0 / 0.9361 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of Templates: time 0.003082/0.2624, allocations: 0.5216 MB / 0.9366 GB, free: 18.75 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)