Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 255.9 MB / 271.2 MB, free: 8.93 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.001904/0.001904, allocations: 181.4 kB / 330.8 MB, free: 0.5039 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.095/2.095, allocations: 225.7 MB / 0.6016 GB, free: 15.93 MB / 442.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.001083/0.001083, allocations: 99.56 kB / 0.709 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.0004524, allocations: 12 kB / 0.8261 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3075, allocations: 109.2 MB / 0.9327 GB, free: 24.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001677/0.3093, allocations: 1.138 MB / 0.9339 GB, free: 23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00092/0.3102, allocations: 0.9 MB / 0.9347 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.3103, allocations: 0 / 0.9347 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.898e-05/0.3104, allocations: 7.938 kB / 0.9347 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.3106, allocations: 15.91 kB / 0.9348 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.3111, allocations: 203.7 kB / 0.935 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.3113, allocations: 291.6 kB / 0.9352 GB, free: 21.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.301e-05/0.3114, allocations: 8.219 kB / 0.9352 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.3115, allocations: 135.7 kB / 0.9354 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3117, allocations: 119.6 kB / 0.9355 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.3118, allocations: 16 kB / 0.9355 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.3119, allocations: 39.98 kB / 0.9355 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.3119, allocations: 43.88 kB / 0.9356 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.3121, allocations: 133.3 kB / 0.9357 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.3124, allocations: 251.6 kB / 0.9359 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3124, allocations: 0 / 0.9359 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3124, allocations: 0 / 0.9359 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3124, allocations: 0 / 0.9359 GB, free: 20.74 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.0008238/0.3132, allocations: 0.5218 MB / 0.9365 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3133, allocations: 11.98 kB / 0.9365 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.3134, allocations: 40.75 kB / 0.9365 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.3137, allocations: 248 kB / 0.9367 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.3137, allocations: 16.36 kB / 0.9368 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.3138, allocations: 32.36 kB / 0.9368 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.3142, allocations: 256.6 kB / 0.937 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3142, allocations: 192 / 0.937 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.3143, allocations: 11.92 kB / 0.937 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3143, allocations: 8 kB / 0.937 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.3145, allocations: 99.86 kB / 0.9371 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.3149, allocations: 379.9 kB / 0.9375 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.3153, allocations: 246.6 kB / 0.9377 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.3155, allocations: 127.5 kB / 0.9379 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3156, allocations: 3.984 kB / 0.9379 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/0.316, allocations: 276.5 kB / 0.9381 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.3161, allocations: 0 / 0.9381 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24): time 0.001029/0.3171, allocations: 0.5283 MB / 0.9386 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.3172, allocations: 148.7 kB / 0.9388 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3173, allocations: 157.5 kB / 0.9389 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.3173, allocations: 45.7 kB / 0.939 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.3174, allocations: 112.5 kB / 0.9391 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.3175, allocations: 51.27 kB / 0.9391 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.3175, allocations: 12 kB / 0.9392 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.3176, allocations: 326.8 kB / 0.9395 GB, free: 16.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.3178, allocations: 175.9 kB / 0.9396 GB, free: 16.65 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.3181, allocations: 235 kB / 0.9399 GB, free: 16.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.3184, allocations: 302.6 kB / 0.9401 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3184, allocations: 0 / 0.9401 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008647/0.3193, allocations: 0.7386 MB / 0.9409 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.816e-05/0.3194, allocations: 99.23 kB / 0.941 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3194, allocations: 0 / 0.941 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.3194, allocations: 4 kB / 0.941 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3196, allocations: 15.94 kB / 0.941 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3196, allocations: 3.984 kB / 0.941 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.32, allocations: 87.7 kB / 0.9411 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/0.32, allocations: 23.98 kB / 0.9411 GB, free: 15.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.3202, allocations: 157 kB / 0.9412 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.3202, allocations: 27.75 kB / 0.9413 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.3202, allocations: 16.7 kB / 0.9413 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3203, allocations: 4 kB / 0.9413 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3203, allocations: 0 / 0.9413 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3203, allocations: 4 kB / 0.9413 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.3205, allocations: 269.3 kB / 0.9415 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3205, allocations: 0 / 0.9415 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.3206, allocations: 12 kB / 0.9416 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3206, allocations: 3.938 kB / 0.9416 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.3206, allocations: 15.97 kB / 0.9416 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3206, allocations: 4 kB / 0.9416 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3206, allocations: 0 / 0.9416 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.3213, allocations: 471.3 kB / 0.942 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.3214, allocations: 88.92 kB / 0.9421 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.3214, allocations: 23.92 kB / 0.9421 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.3216, allocations: 19.98 kB / 0.9422 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.3216, allocations: 19.97 kB / 0.9422 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.3217, allocations: 27.97 kB / 0.9422 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.514e-05/0.3217, allocations: 118.5 kB / 0.9423 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.052e-06/0.3218, allocations: 0 / 0.9423 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002828/0.322, allocations: 75.92 kB / 0.9424 GB, free: 13.66 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 (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.0002073/0.3223, allocations: 153.4 kB / 0.9425 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.323, allocations: 0.6971 MB / 0.9432 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.323, allocations: 128 / 0.9432 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.3233, allocations: 160.5 kB / 0.9434 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.3235, allocations: 27.91 kB / 0.9434 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007014/0.3242, allocations: 417.4 kB / 0.9438 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.3244, allocations: 0.7245 MB / 0.9445 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.3245, allocations: 13.36 kB / 0.9445 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.3245, allocations: 23.44 kB / 0.9445 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of SimCode: time 3.3e-07/0.3245, allocations: 0 / 0.9445 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of Templates: time 0.00595/0.3305, allocations: 3.299 MB / 0.9478 GB, free: 8.078 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)