Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.446/2.446, allocations: 254.9 MB / 269.9 MB, free: 9.656 MB / 218.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.001456/0.001456, allocations: 206.5 kB / 329.5 MB, free: 1.18 MB / 250.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 2.354/2.354, allocations: 225.6 MB / 0.6001 GB, free: 2.277 MB / 426.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.001026/0.001025, allocations: 95.48 kB / 0.7074 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.000501, allocations: 9.969 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2393, allocations: 109.1 MB / 0.9308 GB, free: 25.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001874/0.2412, allocations: 1.142 MB / 0.9319 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2424, allocations: 399.1 kB / 0.9323 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.2425, allocations: 0 / 0.9323 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.589e-05/0.2426, allocations: 7.922 kB / 0.9323 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.2428, allocations: 15.91 kB / 0.9323 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007904/0.2436, allocations: 187.7 kB / 0.9325 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.2439, allocations: 263.7 kB / 0.9327 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.606e-05/0.244, allocations: 4.234 kB / 0.9327 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.2442, allocations: 135.7 kB / 0.9328 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.2444, allocations: 131.7 kB / 0.933 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.2445, allocations: 16 kB / 0.933 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.2447, allocations: 31.98 kB / 0.933 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/0.2448, allocations: 47.88 kB / 0.9331 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.2449, allocations: 61.64 kB / 0.9331 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.2452, allocations: 183.9 kB / 0.9333 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2452, allocations: 0 / 0.9333 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2452, allocations: 0 / 0.9333 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2452, allocations: 0 / 0.9333 GB, free: 22.59 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001189/0.2464, allocations: 0.5275 MB / 0.9338 GB, free: 22 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.2465, allocations: 8.031 kB / 0.9338 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.2466, allocations: 32.73 kB / 0.9338 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.247, allocations: 248.1 kB / 0.9341 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/0.2471, allocations: 16.36 kB / 0.9341 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.773e-05/0.2472, allocations: 32.36 kB / 0.9341 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007311/0.2479, allocations: 253.4 kB / 0.9344 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.248, allocations: 192 / 0.9344 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.248, allocations: 11.88 kB / 0.9344 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.248, allocations: 0 / 0.9344 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.2485, allocations: 107.8 kB / 0.9345 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.249, allocations: 379.9 kB / 0.9348 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.2496, allocations: 242.5 kB / 0.9351 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.2501, allocations: 131.6 kB / 0.9352 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.2501, allocations: 7.938 kB / 0.9352 GB, free: 20.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007607/0.2509, allocations: 274.5 kB / 0.9355 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=24): time 3.286e-06/0.2509, allocations: 0 / 0.9355 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24): time 0.001772/0.2527, allocations: 0.5361 MB / 0.936 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.2528, allocations: 144.5 kB / 0.9361 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.2529, allocations: 148.7 kB / 0.9363 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.032e-05/0.253, allocations: 49.69 kB / 0.9363 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.2531, allocations: 100.6 kB / 0.9364 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.293e-05/0.2532, allocations: 59.5 kB / 0.9365 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.2532, allocations: 16 kB / 0.9365 GB, free: 19.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.2533, allocations: 330.8 kB / 0.9368 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.2538, allocations: 179.9 kB / 0.937 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.2542, allocations: 211.3 kB / 0.9372 GB, free: 18.28 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.2547, allocations: 235.2 kB / 0.9374 GB, free: 18.04 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2547, allocations: 0 / 0.9374 GB, free: 18.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001498/0.2562, allocations: 0.7308 MB / 0.9381 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/0.2563, allocations: 91.31 kB / 0.9382 GB, free: 17.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2563, allocations: 0 / 0.9382 GB, free: 17.19 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.2563, allocations: 4 kB / 0.9382 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.2565, allocations: 11.98 kB / 0.9382 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2565, allocations: 7.938 kB / 0.9382 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/0.2572, allocations: 95.69 kB / 0.9383 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.2573, allocations: 20 kB / 0.9383 GB, free: 17.05 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001964/0.2575, allocations: 152.4 kB / 0.9385 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.2576, allocations: 27.75 kB / 0.9385 GB, free: 16.87 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.2576, allocations: 16.72 kB / 0.9385 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2576, allocations: 3.984 kB / 0.9385 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2577, allocations: 4 kB / 0.9385 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2577, allocations: 3.938 kB / 0.9385 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.2579, allocations: 265.3 kB / 0.9388 GB, free: 16.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2579, allocations: 0 / 0.9388 GB, free: 16.53 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.258, allocations: 15.98 kB / 0.9388 GB, free: 16.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.2581, allocations: 11.94 kB / 0.9388 GB, free: 16.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.2581, allocations: 11.97 kB / 0.9388 GB, free: 16.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2581, allocations: 4 kB / 0.9388 GB, free: 16.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2582, allocations: 4 kB / 0.9388 GB, free: 16.48 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.2593, allocations: 462.1 kB / 0.9393 GB, free: 16.01 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.2594, allocations: 92.92 kB / 0.9394 GB, free: 15.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.691e-05/0.2595, allocations: 19.92 kB / 0.9394 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.2598, allocations: 27.97 kB / 0.9394 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/0.2599, allocations: 23.91 kB / 0.9394 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.2599, allocations: 19.98 kB / 0.9395 GB, free: 15.81 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.518e-05/0.26, allocations: 117.8 kB / 0.9396 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.26, allocations: 0 / 0.9396 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004063/0.2604, allocations: 79.98 kB / 0.9396 GB, free: 15.62 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002198/0.2607, allocations: 160 kB / 0.9398 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.262, allocations: 0.6863 MB / 0.9405 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.262, allocations: 0 / 0.9405 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005163/0.2625, allocations: 176.2 kB / 0.9406 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.2628, allocations: 15.92 kB / 0.9406 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.2638, allocations: 417.2 kB / 0.941 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.264, allocations: 0.7169 MB / 0.9417 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.471e-05/0.2641, allocations: 13.42 kB / 0.9418 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.2641, allocations: 15.42 kB / 0.9418 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of SimCode: time 7.71e-07/0.2641, allocations: 4 kB / 0.9418 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of Templates: time 0.008975/0.2731, allocations: 3.205 MB / 0.9449 GB, free: 10.14 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)