Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule") 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.721/1.721, allocations: 297.4 MB / 312.6 MB, free: 2.883 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.00158/0.00158, allocations: 186 kB / 382.3 MB, free: 14.77 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.67/1.67, allocations: 225.7 MB / 0.6617 GB, free: 7.203 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.001136/0.001136, allocations: 95.72 kB / 0.7789 GB, free: 46.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004523, allocations: 13.36 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.082, allocations: 119.2 MB / 1.022 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003105/1.085, allocations: 1.131 MB / 1.023 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001975/1.087, allocations: 0.9603 MB / 1.024 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.982e-05/1.087, allocations: 0.5 kB / 1.024 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/1.087, allocations: 6.531 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/1.088, allocations: 13.59 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/1.089, allocations: 191.7 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004044/1.089, allocations: 139.7 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/1.089, allocations: 4.688 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/1.09, allocations: 54.25 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/1.09, allocations: 42.25 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.193e-05/1.09, allocations: 7.906 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005999/1.091, allocations: 146.7 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/1.091, allocations: 32.23 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001615/1.091, allocations: 79.47 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008305/1.092, allocations: 224.1 kB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/1.092, allocations: 0 / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.955e-06/1.092, allocations: 3.938 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.092, allocations: 2.031 kB / 1.025 GB, free: 56.16 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009983/1.093, allocations: 426 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.693e-05/1.093, allocations: 9.281 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/1.093, allocations: 12.69 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/1.093, allocations: 209.4 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/1.093, allocations: 7.359 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/1.093, allocations: 17.56 kB / 1.026 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/1.094, allocations: 89.34 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.094, allocations: 4.125 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/1.094, allocations: 7.25 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/1.094, allocations: 0 / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/1.094, allocations: 39.59 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/1.094, allocations: 230.9 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/1.094, allocations: 77.83 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/1.095, allocations: 56.8 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/1.095, allocations: 5.844 kB / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/1.095, allocations: 102.8 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.614e-06/1.095, allocations: 6.281 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005173/1.095, allocations: 187.7 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/1.096, allocations: 91.94 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/1.096, allocations: 146.8 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/1.096, allocations: 35.02 kB / 1.027 GB, free: 54.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/1.096, allocations: 100.4 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.952e-05/1.096, allocations: 43.55 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/1.096, allocations: 2.375 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.096, allocations: 326.1 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.136e-05/1.096, allocations: 41.38 kB / 1.027 GB, free: 54.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/1.097, allocations: 205.6 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/1.097, allocations: 96.59 kB / 1.028 GB, free: 54.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.097, allocations: 0 / 1.028 GB, free: 54.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003538/1.097, allocations: 163.9 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/1.097, allocations: 5.812 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/1.097, allocations: 2.656 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/1.097, allocations: 2.938 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/1.097, allocations: 12.39 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.097, allocations: 0 / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/1.098, allocations: 90.28 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/1.098, allocations: 6.203 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001567/1.098, allocations: 136.4 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/1.098, allocations: 20.39 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/1.098, allocations: 12.05 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/1.098, allocations: 3.094 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.098, allocations: 0 / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.098, allocations: 0 / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/1.098, allocations: 196.6 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.098, allocations: 3.938 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/1.098, allocations: 8.078 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/1.098, allocations: 4.453 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/1.098, allocations: 0 / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.098, allocations: 7.938 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.098, allocations: 1.562 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/1.099, allocations: 185.5 kB / 1.028 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/1.099, allocations: 92.64 kB / 1.029 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/1.099, allocations: 0 / 1.029 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/1.099, allocations: 6.25 kB / 1.029 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/1.099, allocations: 10.86 kB / 1.029 GB, free: 53.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/1.099, allocations: 2.906 kB / 1.029 GB, free: 53.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.932e-05/1.099, allocations: 113.2 kB / 1.029 GB, free: 53.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.099, allocations: 0 / 1.029 GB, free: 53.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005003/1.099, allocations: 72.34 kB / 1.029 GB, free: 53.28 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004544/1.1, allocations: 170.9 kB / 1.029 GB, free: 53.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003533/1.1, allocations: 167.2 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.1, allocations: 0.9688 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.822e-05/1.1, allocations: 49.58 kB / 1.029 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/1.101, allocations: 15.19 kB / 1.029 GB, free: 53.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/1.101, allocations: 253.6 kB / 1.029 GB, free: 52.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/1.102, allocations: 0.7059 MB / 1.03 GB, free: 52.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.116e-05/1.102, allocations: 5.547 kB / 1.03 GB, free: 52.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/1.102, allocations: 16.16 kB / 1.03 GB, free: 52.16 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.102, allocations: 0 / 1.03 GB, free: 52.16 MB / 0.698 GB Notification: Performance of Templates: time 0.008283/1.11, allocations: 2.391 MB / 1.032 GB, free: 51.96 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)