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.Integers.Validation.Change.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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.463/2.463, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.001846/0.001846, allocations: 198.8 kB / 329.5 MB, free: 1.18 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.323/2.323, allocations: 225.6 MB / 0.6001 GB, free: 2.156 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.001018/0.001018, allocations: 102.2 kB / 0.7074 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005231/0.0005233, allocations: 17.39 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2258, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003156/0.229, allocations: 1.611 MB / 0.9324 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002499/0.2315, allocations: 0.9165 MB / 0.9332 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.2318, allocations: 0 / 0.9332 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000444/0.2322, allocations: 87.69 kB / 0.9333 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.2326, allocations: 75.72 kB / 0.9334 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006227/0.2333, allocations: 111.8 kB / 0.9335 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.2336, allocations: 183.4 kB / 0.9337 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.2339, allocations: 53.81 kB / 0.9337 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.2341, allocations: 75.62 kB / 0.9338 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.2343, allocations: 79.66 kB / 0.9339 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.2343, allocations: 4 kB / 0.9339 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.2345, allocations: 24 kB / 0.9339 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.529e-05/0.2346, allocations: 51.81 kB / 0.934 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.2347, allocations: 57.58 kB / 0.934 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.2351, allocations: 187.8 kB / 0.9342 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2351, allocations: 0 / 0.9342 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2351, allocations: 0 / 0.9342 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2351, allocations: 0 / 0.9342 GB, free: 21.61 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001225/0.2364, allocations: 0.5025 MB / 0.9347 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2364, allocations: 16.03 kB / 0.9347 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.246e-05/0.2366, allocations: 28.64 kB / 0.9347 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.2371, allocations: 271.2 kB / 0.935 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.2371, allocations: 11.94 kB / 0.935 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.2372, allocations: 12 kB / 0.935 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.2378, allocations: 143.2 kB / 0.9351 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2379, allocations: 8 kB / 0.9352 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.2379, allocations: 0 / 0.9352 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.2379, allocations: 7.938 kB / 0.9352 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006241/0.2386, allocations: 91.92 kB / 0.9352 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.2397, allocations: 0.528 MB / 0.9358 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.2404, allocations: 138.6 kB / 0.9359 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.2408, allocations: 64.77 kB / 0.936 GB, free: 19.63 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.2408, allocations: 0 / 0.936 GB, free: 19.63 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005584/0.2414, allocations: 131.3 kB / 0.9361 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 3.075e-06/0.2414, allocations: 3.938 kB / 0.9361 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001308/0.2428, allocations: 273 kB / 0.9363 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.2428, allocations: 59.41 kB / 0.9364 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000579/0.2434, allocations: 318.5 kB / 0.9367 GB, free: 18.83 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.2435, allocations: 33.7 kB / 0.9367 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.2436, allocations: 136.5 kB / 0.9369 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/0.2437, allocations: 43.55 kB / 0.9369 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.2438, allocations: 4 kB / 0.9369 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2439, allocations: 334.8 kB / 0.9372 GB, free: 18.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.2444, allocations: 87.95 kB / 0.9373 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.2449, allocations: 147.5 kB / 0.9375 GB, free: 18.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.2454, allocations: 101.8 kB / 0.9376 GB, free: 17.92 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2454, allocations: 0 / 0.9376 GB, free: 17.92 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00115/0.2466, allocations: 293.3 kB / 0.9378 GB, free: 17.63 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.2466, allocations: 11.92 kB / 0.9378 GB, free: 17.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2467, allocations: 4 kB / 0.9379 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.2467, allocations: 4 kB / 0.9379 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.2472, allocations: 47.91 kB / 0.9379 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.2472, allocations: 4 kB / 0.9379 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.2476, allocations: 27.83 kB / 0.9379 GB, free: 17.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.2477, allocations: 12.03 kB / 0.9379 GB, free: 17.52 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,cha.u_start) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002638/0.2479, allocations: 170.8 kB / 0.9381 GB, free: 17.35 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.248, allocations: 27.64 kB / 0.9381 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.051e-05/0.2481, allocations: 26.17 kB / 0.9382 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.2481, allocations: 8 kB / 0.9382 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2482, allocations: 0 / 0.9382 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2482, allocations: 3.984 kB / 0.9382 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.2497, allocations: 0.5567 MB / 0.9387 GB, free: 16.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2497, allocations: 3.938 kB / 0.9387 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.2499, allocations: 19.92 kB / 0.9387 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.25, allocations: 8 kB / 0.9387 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.25, allocations: 0 / 0.9387 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.25, allocations: 0 / 0.9387 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.25, allocations: 0 / 0.9387 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009331/0.251, allocations: 307.1 kB / 0.939 GB, free: 16.32 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.2511, allocations: 100.8 kB / 0.9391 GB, free: 16.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.2512, allocations: 8 kB / 0.9391 GB, free: 16.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.2515, allocations: 19.98 kB / 0.9392 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.2517, allocations: 11.97 kB / 0.9392 GB, free: 16.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.2517, allocations: 8 kB / 0.9392 GB, free: 16.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003607/0.2521, allocations: 204.4 kB / 0.9394 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.21e-07/0.2521, allocations: 4 kB / 0.9394 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007287/0.2528, allocations: 43.94 kB / 0.9394 GB, free: 15.91 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001797/0.2547, allocations: 479.4 kB / 0.9399 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.2557, allocations: 207.7 kB / 0.9401 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.2558, allocations: 0 / 0.9401 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.2562, allocations: 75.89 kB / 0.9401 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008916/0.2571, allocations: 40.91 kB / 0.9402 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2583, allocations: 434.8 kB / 0.9406 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.2586, allocations: 0.7482 MB / 0.9413 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002147/0.2588, allocations: 33.92 kB / 0.9414 GB, free: 13.99 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.2589, allocations: 27.42 kB / 0.9414 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of SimCode: time 1.062e-06/0.2589, allocations: 0 / 0.9414 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of Templates: time 0.01085/0.2698, allocations: 2.613 MB / 0.9439 GB, free: 11.36 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)