Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.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.001157/0.001157, allocations: 182 kB / 382.3 MB, free: 14.82 MB / 314.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.687/1.687, allocations: 225.7 MB / 0.6617 GB, free: 7.227 MB / 490.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.0008661/0.0008661, allocations: 97.62 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005564/0.0005568, allocations: 12 kB / 0.9059 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/0.8586, allocations: 119.2 MB / 1.022 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002506/0.8612, allocations: 1.598 MB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.8629, allocations: 1.191 MB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.8631, allocations: 7.688 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.8635, allocations: 84.52 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.8637, allocations: 80.48 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.8641, allocations: 139.7 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000277/0.8644, allocations: 203.3 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.8645, allocations: 44.23 kB / 1.026 GB, free: 55.9 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.8647, allocations: 79.92 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.8648, allocations: 96.92 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.8649, allocations: 5.656 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.865, allocations: 43.11 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.8651, allocations: 56.38 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.492e-05/0.8652, allocations: 111.6 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.8655, allocations: 255.8 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.8655, allocations: 5.016 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8656, allocations: 0 / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.8656, allocations: 0.6562 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008133/0.8664, allocations: 0.5092 MB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.8664, allocations: 11.28 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.8665, allocations: 24.03 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.8668, allocations: 285.8 kB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.8669, allocations: 15.41 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.8669, allocations: 6.875 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.8672, allocations: 119.7 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.8672, allocations: 1.375 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.8673, allocations: 10.27 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.8673, allocations: 1.438 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.8676, allocations: 94.48 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/0.8683, allocations: 456.2 kB / 1.028 GB, free: 54.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.8686, allocations: 144 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.8688, allocations: 62.69 kB / 1.028 GB, free: 54.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.8688, allocations: 0.8125 kB / 1.028 GB, free: 54.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.8691, allocations: 132.9 kB / 1.028 GB, free: 54.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.8691, allocations: 0 / 1.028 GB, free: 54.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0006296/0.8698, allocations: 263.6 kB / 1.028 GB, free: 54.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.8698, allocations: 60.03 kB / 1.028 GB, free: 54.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.8702, allocations: 326.6 kB / 1.029 GB, free: 53.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.8702, allocations: 32.83 kB / 1.029 GB, free: 53.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.8703, allocations: 133.8 kB / 1.029 GB, free: 53.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.8703, allocations: 46.09 kB / 1.029 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.8704, allocations: 5.125 kB / 1.029 GB, free: 53.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.8705, allocations: 339.1 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.8707, allocations: 91.47 kB / 1.029 GB, free: 53.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.8709, allocations: 140.9 kB / 1.029 GB, free: 53.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.8713, allocations: 211.9 kB / 1.03 GB, free: 53.24 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.8713, allocations: 0 / 1.03 GB, free: 53.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005337/0.8718, allocations: 296.5 kB / 1.03 GB, free: 53.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.8718, allocations: 13.25 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8718, allocations: 1.781 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.8719, allocations: 4.812 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.8721, allocations: 44.73 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.8721, allocations: 3.641 kB / 1.03 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.8723, allocations: 34.7 kB / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.8723, allocations: 17.66 kB / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001447/0.8725, allocations: 155.7 kB / 1.03 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.8725, allocations: 27.86 kB / 1.03 GB, free: 52.94 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.247e-05/0.8726, allocations: 24.58 kB / 1.03 GB, free: 52.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.8726, allocations: 4.531 kB / 1.03 GB, free: 52.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.8726, allocations: 1.219 kB / 1.03 GB, free: 52.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.8726, allocations: 6.484 kB / 1.03 GB, free: 52.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007732/0.8734, allocations: 0.5566 MB / 1.031 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8734, allocations: 0 / 1.031 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.8735, allocations: 22.7 kB / 1.031 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.8735, allocations: 1.031 kB / 1.031 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.8735, allocations: 9.531 kB / 1.031 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.8735, allocations: 0 / 1.031 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8735, allocations: 0 / 1.031 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.874, allocations: 307.3 kB / 1.031 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.874, allocations: 106.4 kB / 1.031 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.8741, allocations: 5.172 kB / 1.031 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.8742, allocations: 17.14 kB / 1.031 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.8743, allocations: 18.27 kB / 1.031 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.8744, allocations: 7.938 kB / 1.031 GB, free: 52.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002224/0.8746, allocations: 209.5 kB / 1.031 GB, free: 52.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8746, allocations: 0 / 1.031 GB, free: 52.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003355/0.8749, allocations: 50.02 kB / 1.031 GB, free: 52.08 MB / 0.698 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.001204/0.8761, allocations: 484 kB / 1.032 GB, free: 51.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005227/0.8767, allocations: 206.7 kB / 1.032 GB, free: 51.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.8767, allocations: 0 / 1.032 GB, free: 51.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.8769, allocations: 73.42 kB / 1.032 GB, free: 51.78 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.8773, allocations: 53.64 kB / 1.032 GB, free: 51.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008272/0.8782, allocations: 460.7 kB / 1.033 GB, free: 51.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.8784, allocations: 0.7507 MB / 1.033 GB, free: 50.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.8785, allocations: 28.7 kB / 1.033 GB, free: 50.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.8786, allocations: 27.3 kB / 1.033 GB, free: 50.75 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.8786, allocations: 0 / 1.033 GB, free: 50.75 MB / 0.698 GB Notification: Performance of Templates: time 0.006639/0.8853, allocations: 2.824 MB / 1.036 GB, free: 50.55 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)