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.Continuous.Validation.Hysteresis.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.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.717/1.717, allocations: 291.7 MB / 306.8 MB, free: 7.648 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.0009961/0.0009959, allocations: 193.4 kB / 375.4 MB, free: 5.094 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.363/1.363, allocations: 225.7 MB / 0.6538 GB, free: 13.64 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.0008268/0.0008269, allocations: 101.7 kB / 0.7699 GB, free: 50.33 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003934, allocations: 16 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.6533, allocations: 118.1 MB / 1.011 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001299/0.6547, allocations: 0.6967 MB / 1.012 GB, free: 57.58 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.6564, allocations: 1.281 MB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.6564, allocations: 1.531 kB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.6565, allocations: 9.562 kB / 1.013 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.6566, allocations: 22.81 kB / 1.013 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.6572, allocations: 227.1 kB / 1.013 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.6575, allocations: 264.4 kB / 1.013 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.6576, allocations: 47.72 kB / 1.013 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.6577, allocations: 93 kB / 1.013 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.6579, allocations: 93.17 kB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.6579, allocations: 13.44 kB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.658, allocations: 28.7 kB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.658, allocations: 23.34 kB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.6581, allocations: 59.33 kB / 1.014 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.6583, allocations: 247.9 kB / 1.014 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6583, allocations: 0.8125 kB / 1.014 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6584, allocations: 2.781 kB / 1.014 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.6584, allocations: 6.594 kB / 1.014 GB, free: 57.32 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007067/0.6591, allocations: 0.5296 MB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.6591, allocations: 8.812 kB / 1.014 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.6592, allocations: 25.41 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.6599, allocations: 322 kB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.66, allocations: 12.94 kB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.66, allocations: 19.19 kB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.6603, allocations: 134.5 kB / 1.015 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.6603, allocations: 5.391 kB / 1.015 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.6603, allocations: 2.438 kB / 1.015 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6603, allocations: 3.719 kB / 1.015 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.6605, allocations: 88.64 kB / 1.015 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006474/0.6612, allocations: 0.6404 MB / 1.016 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.6616, allocations: 142 kB / 1.016 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.6617, allocations: 61.03 kB / 1.016 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.6617, allocations: 4.031 kB / 1.016 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.662, allocations: 150.1 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.6621, allocations: 1.312 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0005714/0.6626, allocations: 213.6 kB / 1.016 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.6627, allocations: 108.1 kB / 1.016 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.6629, allocations: 201.7 kB / 1.017 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.6629, allocations: 32.64 kB / 1.017 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.663, allocations: 134.9 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.6631, allocations: 35.09 kB / 1.017 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.6631, allocations: 8.656 kB / 1.017 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.953e-05/0.6632, allocations: 325.8 kB / 1.017 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.6634, allocations: 94.27 kB / 1.017 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.6636, allocations: 164.8 kB / 1.017 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.664, allocations: 237.2 kB / 1.018 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.664, allocations: 0 / 1.018 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006088/0.6646, allocations: 355.1 kB / 1.018 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.6647, allocations: 67.3 kB / 1.018 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6647, allocations: 1.781 kB / 1.018 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.6647, allocations: 8.344 kB / 1.018 GB, free: 54.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.6648, allocations: 25.3 kB / 1.018 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.6648, allocations: 6.438 kB / 1.018 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.6652, allocations: 95.11 kB / 1.018 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.6653, allocations: 17.23 kB / 1.018 GB, free: 54.81 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: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001263/0.6654, allocations: 137.1 kB / 1.018 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.6654, allocations: 18.59 kB / 1.018 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.6657, allocations: 104.6 kB / 1.018 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.6657, allocations: 2.781 kB / 1.018 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.6657, allocations: 6.812 kB / 1.018 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6657, allocations: 0 / 1.018 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.6659, allocations: 240.7 kB / 1.019 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6659, allocations: 0 / 1.019 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-05/0.666, allocations: 17.25 kB / 1.019 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.666, allocations: 0 / 1.019 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.6661, allocations: 4 kB / 1.019 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.6661, allocations: 5.094 kB / 1.019 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6661, allocations: 6.25 kB / 1.019 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.6665, allocations: 207.1 kB / 1.019 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.6665, allocations: 96.33 kB / 1.019 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.6665, allocations: 6.172 kB / 1.019 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.6666, allocations: 15.17 kB / 1.019 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.6668, allocations: 32.97 kB / 1.019 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.6668, allocations: 6.234 kB / 1.019 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.034e-05/0.6669, allocations: 139.3 kB / 1.019 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6669, allocations: 4 kB / 1.019 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002592/0.6671, allocations: 48.5 kB / 1.019 GB, free: 54.15 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001872/0.6673, allocations: 113.6 kB / 1.019 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005217/0.6679, allocations: 326.4 kB / 1.02 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6679, allocations: 0 / 1.02 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.668, allocations: 72.02 kB / 1.02 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.6684, allocations: 45.39 kB / 1.02 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.6689, allocations: 342.4 kB / 1.02 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.6691, allocations: 0.7177 MB / 1.021 GB, free: 53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.6692, allocations: 30.66 kB / 1.021 GB, free: 52.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.6693, allocations: 20.34 kB / 1.021 GB, free: 52.98 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.6693, allocations: 0 / 1.021 GB, free: 52.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.006171/0.6754, allocations: 2.904 MB / 1.024 GB, free: 52.83 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)