Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.472/1.472, 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.0008252/0.0008252, allocations: 185.5 kB / 375.4 MB, free: 5.109 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.213/1.213, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0007135/0.0007136, allocations: 100.6 kB / 0.7699 GB, free: 50.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 12 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5712/0.5716, allocations: 118.1 MB / 1.011 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.002745/0.5744, allocations: 2.533 MB / 1.013 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.5756, allocations: 0.8499 MB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.5758, allocations: 12.38 kB / 1.014 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.576, allocations: 47.78 kB / 1.014 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.5761, allocations: 65.42 kB / 1.014 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.5765, allocations: 149.9 kB / 1.014 GB, free: 56.74 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.5769, allocations: 439.8 kB / 1.015 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.5772, allocations: 204 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.5774, allocations: 123.2 kB / 1.015 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.5775, allocations: 123.7 kB / 1.015 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.5776, allocations: 16.38 kB / 1.015 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.267e-05/0.5776, allocations: 11.25 kB / 1.015 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.5776, allocations: 53.94 kB / 1.015 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.5777, allocations: 88.02 kB / 1.015 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.5779, allocations: 366.8 kB / 1.016 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.578, allocations: 4.438 kB / 1.016 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.242e-06/0.578, allocations: 3.094 kB / 1.016 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.578, allocations: 0 / 1.016 GB, free: 56.46 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.000761/0.5787, allocations: 0.6374 MB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.5788, allocations: 13.31 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/0.5789, allocations: 48 kB / 1.017 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.5793, allocations: 400 kB / 1.017 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.5793, allocations: 20.16 kB / 1.017 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.5794, allocations: 29.22 kB / 1.017 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.5799, allocations: 344.5 kB / 1.017 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.5799, allocations: 0 / 1.017 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.5799, allocations: 14.83 kB / 1.017 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.5799, allocations: 8.531 kB / 1.017 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.5803, allocations: 215.6 kB / 1.017 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.5815, allocations: 1.201 MB / 1.019 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.582, allocations: 237 kB / 1.019 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.5822, allocations: 114.5 kB / 1.019 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.5822, allocations: 2.75 kB / 1.019 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.5822, allocations: 35.12 kB / 1.019 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.203e-06/0.5822, allocations: 1.219 kB / 1.019 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0005495/0.5828, allocations: 298.7 kB / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.5828, allocations: 111.5 kB / 1.019 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.5831, allocations: 334.1 kB / 1.02 GB, free: 54.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.5832, allocations: 31.89 kB / 1.02 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.5833, allocations: 226.7 kB / 1.02 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.5833, allocations: 77.88 kB / 1.02 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/0.5833, allocations: 4.156 kB / 1.02 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.5834, allocations: 346 kB / 1.02 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.5836, allocations: 77.89 kB / 1.02 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.5838, allocations: 145.6 kB / 1.021 GB, free: 53.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.5841, allocations: 208.6 kB / 1.021 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5841, allocations: 0 / 1.021 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004242/0.5845, allocations: 288.8 kB / 1.021 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.5845, allocations: 4.156 kB / 1.021 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5845, allocations: 2.844 kB / 1.021 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5846, allocations: 3.125 kB / 1.021 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.5848, allocations: 53.22 kB / 1.021 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.5848, allocations: 2.875 kB / 1.021 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.585, allocations: 44.5 kB / 1.021 GB, free: 53.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.585, allocations: 9.688 kB / 1.021 GB, free: 53.84 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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * 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.0001184/0.5851, allocations: 160.2 kB / 1.021 GB, free: 53.72 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.5852, allocations: 33.28 kB / 1.021 GB, free: 53.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.5852, allocations: 41.86 kB / 1.021 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.5852, allocations: 2.344 kB / 1.021 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5852, allocations: 3.938 kB / 1.021 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5853, allocations: 1.156 kB / 1.021 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.5856, allocations: 405.6 kB / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5856, allocations: 0 / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.5858, allocations: 45.53 kB / 1.022 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.5858, allocations: 2.656 kB / 1.022 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.5858, allocations: 1.219 kB / 1.022 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.5858, allocations: 4.625 kB / 1.022 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5858, allocations: 0 / 1.022 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.5864, allocations: 438.6 kB / 1.022 GB, free: 53.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.377e-05/0.5865, allocations: 129.8 kB / 1.022 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.5865, allocations: 6.219 kB / 1.022 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.5867, allocations: 29.92 kB / 1.022 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.5868, allocations: 22.72 kB / 1.022 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.5868, allocations: 4.594 kB / 1.022 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001708/0.587, allocations: 236.1 kB / 1.023 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.587, allocations: 0 / 1.023 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002653/0.5872, allocations: 70 kB / 1.023 GB, free: 53.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 8.669e-05/0.5873, allocations: 108.7 kB / 1.023 GB, free: 53.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.5877, allocations: 208.7 kB / 1.023 GB, free: 53 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5877, allocations: 0 / 1.023 GB, free: 53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.5879, allocations: 99.84 kB / 1.023 GB, free: 53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.5884, allocations: 75.38 kB / 1.023 GB, free: 52.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.5894, allocations: 0.8354 MB / 1.024 GB, free: 52.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.5896, allocations: 0.7935 MB / 1.025 GB, free: 51.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001522/0.5898, allocations: 41.09 kB / 1.025 GB, free: 51.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.5899, allocations: 24.94 kB / 1.025 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.5899, allocations: 4.969 kB / 1.025 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.006162/0.596, allocations: 2.857 MB / 1.028 GB, free: 51.67 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)