Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.74/1.74, allocations: 291.7 MB / 306.8 MB, free: 7.68 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.001137/0.001138, allocations: 186.2 kB / 375.4 MB, free: 5.125 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.687/1.687, 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.001005/0.001005, allocations: 101.1 kB / 0.7699 GB, free: 50.26 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005083/0.0005084, allocations: 11.98 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9894/0.9899, allocations: 118.1 MB / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001911/0.9919, allocations: 1.128 MB / 1.012 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008017/0.9927, allocations: 468.5 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.9928, allocations: 0.9688 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.322e-05/0.9929, allocations: 6.031 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.655e-05/0.993, allocations: 8.062 kB / 1.012 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.9937, allocations: 201.5 kB / 1.013 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.9939, allocations: 121.4 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.161e-05/0.994, allocations: 10.86 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.9941, allocations: 53.98 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.9942, allocations: 40.97 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.9942, allocations: 5.656 kB / 1.013 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.9945, allocations: 148.2 kB / 1.013 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.9945, allocations: 37.38 kB / 1.013 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.9946, allocations: 47.48 kB / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.9948, allocations: 156.5 kB / 1.013 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9948, allocations: 0 / 1.013 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9948, allocations: 3.891 kB / 1.013 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.9948, allocations: 0 / 1.013 GB, free: 57.23 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005138/0.9954, allocations: 422.9 kB / 1.014 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.9954, allocations: 9.031 kB / 1.014 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.9955, allocations: 15.03 kB / 1.014 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.9957, allocations: 211.5 kB / 1.014 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.9957, allocations: 10.16 kB / 1.014 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.9957, allocations: 12.88 kB / 1.014 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.9959, allocations: 88.72 kB / 1.014 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.9959, allocations: 192 / 1.014 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9959, allocations: 10.95 kB / 1.014 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.9959, allocations: 0 / 1.014 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/0.996, allocations: 37.66 kB / 1.014 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.9962, allocations: 230.5 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.9963, allocations: 77.39 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/0.9964, allocations: 54.06 kB / 1.014 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.9964, allocations: 3.188 kB / 1.014 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.9966, allocations: 117.9 kB / 1.014 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.9967, allocations: 0 / 1.014 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003218/0.997, allocations: 189.1 kB / 1.015 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.997, allocations: 84.33 kB / 1.015 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.9972, allocations: 148.5 kB / 1.015 GB, free: 56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.9972, allocations: 36.95 kB / 1.015 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.9973, allocations: 105 kB / 1.015 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.9973, allocations: 35.61 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.9973, allocations: 1.312 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.9974, allocations: 326.7 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.9975, allocations: 41.05 kB / 1.015 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.9977, allocations: 204.6 kB / 1.016 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.9978, allocations: 95.75 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9978, allocations: 0 / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001937/0.998, allocations: 160 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.998, allocations: 6.25 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.998, allocations: 0.5625 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.9981, allocations: 9.469 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.9981, allocations: 5.75 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.9982, allocations: 6.656 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.9984, allocations: 94.23 kB / 1.016 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.9985, allocations: 4.531 kB / 1.016 GB, free: 55.32 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.183e-05/0.9986, allocations: 131.1 kB / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.9986, allocations: 19.34 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.9986, allocations: 11.62 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.9986, allocations: 2.969 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.9986, allocations: 0 / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.9987, allocations: 4.453 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.9988, allocations: 193.3 kB / 1.016 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9988, allocations: 3.938 kB / 1.016 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/0.9988, allocations: 12 kB / 1.016 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.9988, allocations: 2.969 kB / 1.016 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.9988, allocations: 0 / 1.016 GB, free: 55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.9989, allocations: 10.88 kB / 1.016 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.9989, allocations: 0 / 1.016 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.9991, allocations: 182.2 kB / 1.017 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.9991, allocations: 91.89 kB / 1.017 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.9991, allocations: 4.469 kB / 1.017 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.9992, allocations: 3.094 kB / 1.017 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.9992, allocations: 10.28 kB / 1.017 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.9992, allocations: 5.156 kB / 1.017 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.243e-05/0.9993, allocations: 113.2 kB / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9993, allocations: 1.938 kB / 1.017 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002533/0.9996, allocations: 67.31 kB / 1.017 GB, free: 54.73 MB / 0.7136 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 (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.000214/0.9998, allocations: 177.9 kB / 1.017 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002285/1, allocations: 164.9 kB / 1.017 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1, allocations: 3.938 kB / 1.017 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.944e-05/1, allocations: 39.88 kB / 1.017 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/1, allocations: 12.38 kB / 1.017 GB, free: 54.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/1.001, allocations: 245 kB / 1.017 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/1.001, allocations: 0.7094 MB / 1.018 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.739e-05/1.001, allocations: 7.656 kB / 1.018 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/1.001, allocations: 19 kB / 1.018 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/1.001, allocations: 0 / 1.018 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.004902/1.006, allocations: 2.322 MB / 1.02 GB, free: 53.56 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)