Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.906/1.906, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.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.00106/0.00106, allocations: 179.4 kB / 393.1 MB, free: 4.074 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.567/1.567, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009248/0.0009246, allocations: 97.98 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 8 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7347, allocations: 121.3 MB / 1.041 GB, free: 58.39 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002247/0.737, allocations: 1.601 MB / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.7386, allocations: 1.186 MB / 1.044 GB, free: 56.42 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.293e-05/0.7387, allocations: 6.188 kB / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.7391, allocations: 88.47 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.7393, allocations: 88.42 kB / 1.044 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.7397, allocations: 139.5 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.7399, allocations: 194.1 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.7401, allocations: 48.52 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.7402, allocations: 78.48 kB / 1.044 GB, free: 56.15 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.7403, allocations: 94.61 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.7404, allocations: 8.094 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.7405, allocations: 44.16 kB / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.977e-05/0.7406, allocations: 52.72 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.582e-05/0.7407, allocations: 105.3 kB / 1.045 GB, free: 55.99 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.741, allocations: 262.8 kB / 1.045 GB, free: 55.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.741, allocations: 3.328 kB / 1.045 GB, free: 55.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.741, allocations: 0 / 1.045 GB, free: 55.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.741, allocations: 3.938 kB / 1.045 GB, free: 55.9 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.0007121/0.7417, allocations: 0.5058 MB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.7418, allocations: 9.875 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.7418, allocations: 26.39 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.7421, allocations: 291.2 kB / 1.046 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.7421, allocations: 12.52 kB / 1.046 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.7422, allocations: 12.41 kB / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.7424, allocations: 121.1 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.7425, allocations: 0 / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.7425, allocations: 8.172 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.7425, allocations: 4.094 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.7428, allocations: 95.3 kB / 1.046 GB, free: 55.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/0.7434, allocations: 457 kB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.7437, allocations: 137.8 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.7439, allocations: 62.84 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.7439, allocations: 2.625 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.7442, allocations: 132.2 kB / 1.047 GB, free: 54.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.7442, allocations: 1.031 kB / 1.047 GB, free: 54.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0005984/0.7448, allocations: 260.5 kB / 1.047 GB, free: 54.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.7448, allocations: 60.88 kB / 1.047 GB, free: 54.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.7451, allocations: 333.3 kB / 1.047 GB, free: 54.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.7452, allocations: 36.55 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.7453, allocations: 132.6 kB / 1.047 GB, free: 54.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.7453, allocations: 42.12 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.7453, allocations: 7.125 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.7454, allocations: 336.5 kB / 1.048 GB, free: 53.74 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.7456, allocations: 85.41 kB / 1.048 GB, free: 53.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.7459, allocations: 144.9 kB / 1.048 GB, free: 53.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.7462, allocations: 208 kB / 1.048 GB, free: 53.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.7463, allocations: 7.938 kB / 1.048 GB, free: 53.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005177/0.7468, allocations: 287.6 kB / 1.048 GB, free: 53.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7468, allocations: 9.875 kB / 1.048 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7468, allocations: 8.891 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.7468, allocations: 3.812 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.747, allocations: 50.03 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7471, allocations: 2.406 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.7472, allocations: 30.33 kB / 1.049 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.7472, allocations: 12.22 kB / 1.049 GB, free: 53.38 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.0001274/0.7474, allocations: 170.6 kB / 1.049 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.7474, allocations: 25.66 kB / 1.049 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.7475, allocations: 22.14 kB / 1.049 GB, free: 53.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7475, allocations: 4.875 kB / 1.049 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.7475, allocations: 1.062 kB / 1.049 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.7475, allocations: 3.469 kB / 1.049 GB, free: 53.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007281/0.7482, allocations: 0.5569 MB / 1.049 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7483, allocations: 3.5 kB / 1.049 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.493e-05/0.7483, allocations: 14.22 kB / 1.049 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7484, allocations: 5.312 kB / 1.049 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.7484, allocations: 2.625 kB / 1.049 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7484, allocations: 4.984 kB / 1.049 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7484, allocations: 7.5 kB / 1.049 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.7488, allocations: 305.7 kB / 1.05 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.7489, allocations: 112 kB / 1.05 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.7489, allocations: 0.8125 kB / 1.05 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.7491, allocations: 18.28 kB / 1.05 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.7492, allocations: 18.73 kB / 1.05 GB, free: 52.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.7492, allocations: 7.641 kB / 1.05 GB, free: 52.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001684/0.7494, allocations: 202.6 kB / 1.05 GB, free: 52.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7494, allocations: 0 / 1.05 GB, free: 52.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002877/0.7497, allocations: 49.97 kB / 1.05 GB, free: 52.37 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.0009522/0.7506, allocations: 494.4 kB / 1.05 GB, free: 52.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.7511, allocations: 196 kB / 1.051 GB, free: 52.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.7511, allocations: 0 / 1.051 GB, free: 52.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.7513, allocations: 83.69 kB / 1.051 GB, free: 52.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.7517, allocations: 48.16 kB / 1.051 GB, free: 52.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.7525, allocations: 463.6 kB / 1.051 GB, free: 51.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.7528, allocations: 0.7505 MB / 1.052 GB, free: 51.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.7529, allocations: 37.89 kB / 1.052 GB, free: 51.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/0.753, allocations: 23.23 kB / 1.052 GB, free: 51.01 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.753, allocations: 0 / 1.052 GB, free: 51.01 MB / 0.698 GB Notification: Performance of Templates: time 0.007422/0.7604, allocations: 2.824 MB / 1.055 GB, free: 50.79 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)