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.CDL.Integers.Validation.Change.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.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") 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.512/1.512, allocations: 255.9 MB / 271.2 MB, free: 8.844 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.00108/0.00108, allocations: 187.2 kB / 330.8 MB, free: 452 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.856/1.856, allocations: 225.7 MB / 0.6016 GB, free: 1.648 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.0009652/0.0009654, allocations: 93.5 kB / 0.709 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004599, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2254, allocations: 109.2 MB / 0.9328 GB, free: 6.266 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002515/0.228, allocations: 1.608 MB / 0.9343 GB, free: 4.648 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2295, allocations: 1.011 MB / 0.9353 GB, free: 3.613 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.2297, allocations: 3.938 kB / 0.9353 GB, free: 3.609 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.23, allocations: 83.75 kB / 0.9354 GB, free: 3.527 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.2303, allocations: 75.73 kB / 0.9355 GB, free: 3.453 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.2306, allocations: 139.7 kB / 0.9356 GB, free: 3.316 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.2309, allocations: 183.5 kB / 0.9358 GB, free: 3.137 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.231, allocations: 49.64 kB / 0.9358 GB, free: 3.086 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2312, allocations: 79.58 kB / 0.9359 GB, free: 3.008 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.2313, allocations: 91.59 kB / 0.936 GB, free: 2.918 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.2313, allocations: 4 kB / 0.936 GB, free: 2.914 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/0.2314, allocations: 23.98 kB / 0.936 GB, free: 2.891 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.2315, allocations: 55.83 kB / 0.9361 GB, free: 2.836 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.2316, allocations: 109 kB / 0.9362 GB, free: 2.723 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.2318, allocations: 239.5 kB / 0.9364 GB, free: 2.488 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2318, allocations: 0 / 0.9364 GB, free: 2.488 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2318, allocations: 0 / 0.9364 GB, free: 2.488 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2318, allocations: 0 / 0.9364 GB, free: 2.488 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007745/0.2326, allocations: 0.4987 MB / 0.9369 GB, free: 1.941 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.2327, allocations: 15.98 kB / 0.9369 GB, free: 1.926 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.2328, allocations: 24.66 kB / 0.9369 GB, free: 1.902 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.2331, allocations: 282.8 kB / 0.9372 GB, free: 1.586 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.2331, allocations: 12.12 kB / 0.9372 GB, free: 1.574 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.2331, allocations: 15.98 kB / 0.9372 GB, free: 1.559 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.2334, allocations: 139.3 kB / 0.9374 GB, free: 1.41 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2335, allocations: 4 kB / 0.9374 GB, free: 1.406 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2335, allocations: 0 / 0.9374 GB, free: 1.406 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2335, allocations: 4 kB / 0.9374 GB, free: 1.402 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.2338, allocations: 103.8 kB / 0.9375 GB, free: 1.301 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006108/0.2344, allocations: 0.5242 MB / 0.938 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.2347, allocations: 130.7 kB / 0.9381 GB, free: 0.5859 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.2348, allocations: 68.81 kB / 0.9382 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.2349, allocations: 4 kB / 0.9382 GB, free: 0.5117 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.2352, allocations: 139.2 kB / 0.9383 GB, free: 372 kB / 0.573 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.2352, allocations: 3.938 kB / 0.9383 GB, free: 368 kB / 0.573 GB Notification: Performance of matching and sorting (n=16): time 0.0006067/0.2358, allocations: 257.3 kB / 0.9386 GB, free: 104 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.2359, allocations: 55.41 kB / 0.9386 GB, free: 36 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.2363, allocations: 322.5 kB / 0.9389 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.2363, allocations: 33.7 kB / 0.939 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.2365, allocations: 140.4 kB / 0.9391 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.2365, allocations: 43.53 kB / 0.9391 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/0.2365, allocations: 8 kB / 0.9391 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2367, allocations: 330.8 kB / 0.9395 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.2369, allocations: 87.95 kB / 0.9395 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.2372, allocations: 147 kB / 0.9397 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.2376, allocations: 207.9 kB / 0.9399 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2376, allocations: 0 / 0.9399 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000604/0.2382, allocations: 299.3 kB / 0.9402 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.2383, allocations: 11.84 kB / 0.9402 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2383, allocations: 4 kB / 0.9402 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.2383, allocations: 3.984 kB / 0.9402 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.2386, allocations: 56.09 kB / 0.9402 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.2386, allocations: 4 kB / 0.9402 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.2388, allocations: 23.89 kB / 0.9403 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.2388, allocations: 8 kB / 0.9403 GB, free: 14.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.239, allocations: 172.1 kB / 0.9404 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.2391, allocations: 27.66 kB / 0.9405 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.083e-05/0.2391, allocations: 22.19 kB / 0.9405 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2391, allocations: 4 kB / 0.9405 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2391, allocations: 3.984 kB / 0.9405 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2392, allocations: 0 / 0.9405 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009163/0.2401, allocations: 0.5567 MB / 0.941 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2401, allocations: 3.938 kB / 0.941 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.302e-05/0.2402, allocations: 15.98 kB / 0.941 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2402, allocations: 7.938 kB / 0.9411 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2402, allocations: 0 / 0.9411 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2402, allocations: 0 / 0.9411 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2402, allocations: 0 / 0.9411 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.2407, allocations: 311.7 kB / 0.9414 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/0.2408, allocations: 100.8 kB / 0.9414 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.2409, allocations: 8 kB / 0.9415 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2411, allocations: 23.97 kB / 0.9415 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/0.2412, allocations: 11.98 kB / 0.9415 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.2412, allocations: 8 kB / 0.9415 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002526/0.2414, allocations: 204.4 kB / 0.9417 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-07/0.2415, allocations: 0 / 0.9417 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003411/0.2418, allocations: 44 kB / 0.9417 GB, free: 12.66 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 (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.0012/0.243, allocations: 478.8 kB / 0.9422 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005002/0.2435, allocations: 199.7 kB / 0.9424 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2435, allocations: 384 / 0.9424 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.2437, allocations: 87.83 kB / 0.9425 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.2442, allocations: 45.08 kB / 0.9425 GB, free: 12 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.2449, allocations: 458.7 kB / 0.9429 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.2453, allocations: 0.7482 MB / 0.9437 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.2454, allocations: 41.91 kB / 0.9437 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.2455, allocations: 19.44 kB / 0.9437 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.2455, allocations: 0 / 0.9437 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of Templates: time 0.006699/0.2522, allocations: 2.674 MB / 0.9463 GB, free: 8.039 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)