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.Division.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.Division,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Division,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.314/2.314, allocations: 255 MB / 269.9 MB, free: 9.621 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.001418/0.001418, allocations: 192.8 kB / 329.5 MB, free: 1.148 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.394/2.394, allocations: 225.6 MB / 0.6001 GB, free: 500 kB / 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.0009924/0.0009924, allocations: 106.3 kB / 0.7074 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006829/0.0006836, allocations: 12.78 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2486, allocations: 109.1 MB / 0.9308 GB, free: 24.86 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Division): time 0.002328/0.251, allocations: 1.12 MB / 0.9319 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004167/0.2515, allocations: 115.7 kB / 0.932 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.2515, allocations: 4 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.2516, allocations: 7.922 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.296e-05/0.2517, allocations: 3.938 kB / 0.932 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.601e-05/0.2518, allocations: 11.98 kB / 0.932 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2519, allocations: 31.92 kB / 0.932 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.252, allocations: 8 kB / 0.9321 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.079e-05/0.2522, allocations: 19.92 kB / 0.9321 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.2522, allocations: 15.92 kB / 0.9321 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.2523, allocations: 8 kB / 0.9321 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.2523, allocations: 0 / 0.9321 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.2523, allocations: 7.969 kB / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.2524, allocations: 37.64 kB / 0.9321 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.099e-05/0.2525, allocations: 19.94 kB / 0.9322 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2525, allocations: 0 / 0.9322 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2525, allocations: 0 / 0.9322 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.2526, allocations: 4 kB / 0.9322 GB, free: 23.43 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.0007501/0.2533, allocations: 367.6 kB / 0.9325 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2534, allocations: 16.02 kB / 0.9325 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.2535, allocations: 0.9375 kB / 0.9325 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.2536, allocations: 172.3 kB / 0.9327 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2536, allocations: 4.375 kB / 0.9327 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.2537, allocations: 8.375 kB / 0.9327 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.2542, allocations: 78.16 kB / 0.9328 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2542, allocations: 192 / 0.9328 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.2543, allocations: 7.938 kB / 0.9328 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2543, allocations: 4 kB / 0.9328 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007895/0.2551, allocations: 83.92 kB / 0.9329 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.2556, allocations: 268.9 kB / 0.9331 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.2561, allocations: 78.39 kB / 0.9332 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.2565, allocations: 48.92 kB / 0.9333 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.2565, allocations: 0 / 0.9333 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.2566, allocations: 30.56 kB / 0.9333 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.2566, allocations: 0 / 0.9333 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.001336/0.258, allocations: 165.6 kB / 0.9334 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.258, allocations: 55.34 kB / 0.9335 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2581, allocations: 109.8 kB / 0.9336 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2582, allocations: 25.7 kB / 0.9336 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.2582, allocations: 92.05 kB / 0.9337 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.2583, allocations: 3.906 kB / 0.9337 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.2583, allocations: 7.938 kB / 0.9337 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.2584, allocations: 318.8 kB / 0.934 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.2588, allocations: 35.97 kB / 0.9341 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.2592, allocations: 47.95 kB / 0.9341 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.2597, allocations: 39.97 kB / 0.9341 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.2597, allocations: 7.938 kB / 0.9341 GB, free: 21.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008703/0.2606, allocations: 117.6 kB / 0.9343 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.2606, allocations: 4 kB / 0.9343 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.2607, allocations: 0 / 0.9343 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.2607, allocations: 0 / 0.9343 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.261, allocations: 27.97 kB / 0.9343 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.261, allocations: 0 / 0.9343 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.2613, allocations: 19.98 kB / 0.9343 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.2613, allocations: 0 / 0.9343 GB, free: 21.02 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 0.0001148/0.2614, allocations: 117.7 kB / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.2615, allocations: 3.906 kB / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.2616, allocations: 7.906 kB / 0.9344 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.2616, allocations: 7.984 kB / 0.9344 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.193e-05/0.2617, allocations: 0 / 0.9344 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2617, allocations: 0 / 0.9344 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.262, allocations: 177.6 kB / 0.9346 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.262, allocations: 0 / 0.9346 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.2623, allocations: 23.92 kB / 0.9346 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2623, allocations: 0 / 0.9346 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2623, allocations: 0 / 0.9346 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.2624, allocations: 3.984 kB / 0.9346 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2624, allocations: 0 / 0.9346 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009416/0.2633, allocations: 219.4 kB / 0.9348 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.2634, allocations: 84.95 kB / 0.9349 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.2634, allocations: 4 kB / 0.9349 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.2637, allocations: 19.98 kB / 0.935 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.2638, allocations: 12.23 kB / 0.935 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.2639, allocations: 0 / 0.935 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.405e-05/0.264, allocations: 91.27 kB / 0.935 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.81e-07/0.264, allocations: 4 kB / 0.9351 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004653/0.2645, allocations: 4 kB / 0.9351 GB, free: 20.15 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.0001748/0.2647, allocations: 103.8 kB / 0.9352 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008916/0.2656, allocations: 95.91 kB / 0.9352 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2656, allocations: 0 / 0.9352 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.2661, allocations: 51.97 kB / 0.9353 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.2666, allocations: 7.922 kB / 0.9353 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.2671, allocations: 136.6 kB / 0.9354 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.2673, allocations: 0.6809 MB / 0.9361 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.349e-05/0.2674, allocations: 4 kB / 0.9361 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.2675, allocations: 7.438 kB / 0.9361 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of SimCode: time 1.283e-06/0.2675, allocations: 0 / 0.9361 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of Templates: time 0.004566/0.2721, allocations: 0.5311 MB / 0.9366 GB, free: 18.48 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Division.pipe 2>&1)