Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.716/1.716, allocations: 291.7 MB / 306.8 MB, free: 7.637 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.001252/0.001252, allocations: 174.3 kB / 375.4 MB, free: 5.105 MB / 298.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.629/1.629, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0008299/0.0008298, allocations: 100.1 kB / 0.7699 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005278/0.0005279, allocations: 16.66 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7527/0.7533, allocations: 118.1 MB / 1.011 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002404/0.7558, allocations: 1.581 MB / 1.012 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.7577, allocations: 1.036 MB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.7579, allocations: 3.938 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.7583, allocations: 83.73 kB / 1.014 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.7585, allocations: 84.8 kB / 1.014 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.7589, allocations: 123.4 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.7591, allocations: 188.6 kB / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.7593, allocations: 45.19 kB / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.7594, allocations: 76.64 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.7595, allocations: 84.05 kB / 1.014 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.7596, allocations: 5.578 kB / 1.014 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.7597, allocations: 46.16 kB / 1.014 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.7598, allocations: 50.72 kB / 1.014 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/0.7598, allocations: 55.23 kB / 1.014 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.7601, allocations: 207.5 kB / 1.014 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7601, allocations: 2 kB / 1.014 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7601, allocations: 3.938 kB / 1.014 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.7601, allocations: 0.8438 kB / 1.014 GB, free: 57.34 MB / 0.7136 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.0008391/0.761, allocations: 0.5053 MB / 1.015 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.761, allocations: 9.188 kB / 1.015 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.7611, allocations: 23.44 kB / 1.015 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.7614, allocations: 288.6 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.7615, allocations: 15.97 kB / 1.015 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.7615, allocations: 10.56 kB / 1.015 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.7618, allocations: 120.7 kB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.7618, allocations: 0.625 kB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.7619, allocations: 10.77 kB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.7619, allocations: 6.625 kB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.7622, allocations: 94.83 kB / 1.016 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000687/0.7628, allocations: 463.7 kB / 1.016 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.7632, allocations: 135.2 kB / 1.016 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.7634, allocations: 65.84 kB / 1.016 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.7634, allocations: 3.438 kB / 1.016 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.7637, allocations: 127.1 kB / 1.016 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.7637, allocations: 0 / 1.016 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0006462/0.7644, allocations: 260.3 kB / 1.017 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.7644, allocations: 60.58 kB / 1.017 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.7648, allocations: 330.8 kB / 1.017 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.7649, allocations: 36.44 kB / 1.017 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.765, allocations: 134.7 kB / 1.017 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.765, allocations: 43.08 kB / 1.017 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.765, allocations: 6.938 kB / 1.017 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.7651, allocations: 337.5 kB / 1.017 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.7653, allocations: 87.3 kB / 1.018 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.7656, allocations: 143.4 kB / 1.018 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.7659, allocations: 210 kB / 1.018 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7659, allocations: 2.156 kB / 1.018 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005186/0.7665, allocations: 295 kB / 1.018 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.7665, allocations: 10.09 kB / 1.018 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.7665, allocations: 0 / 1.018 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.7665, allocations: 7.656 kB / 1.018 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.7667, allocations: 48.41 kB / 1.018 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.7668, allocations: 5.406 kB / 1.018 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.7669, allocations: 29.7 kB / 1.018 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.7669, allocations: 10.69 kB / 1.018 GB, free: 55.39 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.7671, allocations: 160.5 kB / 1.018 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.7671, allocations: 31.45 kB / 1.018 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.7672, allocations: 23.09 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.7672, allocations: 3.016 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7672, allocations: 2.906 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.7672, allocations: 3.469 kB / 1.018 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.7679, allocations: 0.5547 MB / 1.019 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.7679, allocations: 6.625 kB / 1.019 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.768, allocations: 22.77 kB / 1.019 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.768, allocations: 2.969 kB / 1.019 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.768, allocations: 2.062 kB / 1.019 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.768, allocations: 4.875 kB / 1.019 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.768, allocations: 0 / 1.019 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.7685, allocations: 302.4 kB / 1.019 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.7685, allocations: 108.7 kB / 1.019 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.7686, allocations: 2.906 kB / 1.019 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.7687, allocations: 22.53 kB / 1.019 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.7688, allocations: 16.28 kB / 1.019 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.7688, allocations: 5.75 kB / 1.019 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001745/0.769, allocations: 212.3 kB / 1.02 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.769, allocations: 0 / 1.02 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002935/0.7693, allocations: 45.16 kB / 1.02 GB, free: 54.59 MB / 0.7136 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.001057/0.7704, allocations: 492.7 kB / 1.02 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.7708, allocations: 208 kB / 1.02 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7708, allocations: 0 / 1.02 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.771, allocations: 73.34 kB / 1.02 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.7714, allocations: 52.94 kB / 1.021 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.772, allocations: 435.8 kB / 1.021 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.7722, allocations: 0.7486 MB / 1.022 GB, free: 53.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.7723, allocations: 33.38 kB / 1.022 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.651e-05/0.7724, allocations: 28.06 kB / 1.022 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7724, allocations: 0 / 1.022 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.005643/0.7781, allocations: 2.749 MB / 1.024 GB, free: 53.29 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)