Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.829/1.829, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.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.00151/0.00151, allocations: 191.2 kB / 393.1 MB, free: 4.098 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.754/1.754, allocations: 225.7 MB / 0.6743 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 93.64 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004616, allocations: 8 kB / 0.9224 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.012, allocations: 121.3 MB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002656/1.015, allocations: 1.131 MB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001645/1.016, allocations: 0.9503 MB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/1.016, allocations: 3.938 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/1.016, allocations: 4.938 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/1.017, allocations: 11.7 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008627/1.017, allocations: 196 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003166/1.018, allocations: 136.7 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.77e-05/1.018, allocations: 4.25 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/1.018, allocations: 57.75 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/1.018, allocations: 39.83 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/1.018, allocations: 4.812 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/1.018, allocations: 149.8 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/1.019, allocations: 32.06 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/1.019, allocations: 76.3 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004564/1.019, allocations: 223.1 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/1.019, allocations: 0 / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.789e-06/1.019, allocations: 3.938 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.019, allocations: 7.156 kB / 1.044 GB, free: 56.15 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.0006871/1.02, allocations: 421.5 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/1.02, allocations: 12.28 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/1.02, allocations: 14.75 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/1.02, allocations: 201.3 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/1.02, allocations: 7.906 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/1.02, allocations: 15 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/1.021, allocations: 84.56 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/1.021, allocations: 4.125 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/1.021, allocations: 4.625 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/1.021, allocations: 3.625 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/1.021, allocations: 35.89 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/1.021, allocations: 233.7 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/1.021, allocations: 78.31 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/1.021, allocations: 58.34 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/1.021, allocations: 0.9688 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/1.022, allocations: 113.7 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.995e-06/1.022, allocations: 0.8438 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0004458/1.022, allocations: 182.8 kB / 1.045 GB, free: 54.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/1.022, allocations: 89.16 kB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/1.022, allocations: 155.1 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/1.022, allocations: 36.02 kB / 1.045 GB, free: 54.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/1.023, allocations: 105.9 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/1.023, allocations: 37.55 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/1.023, allocations: 0 / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.023, allocations: 328.9 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/1.023, allocations: 43.42 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/1.023, allocations: 198.9 kB / 1.046 GB, free: 54.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/1.023, allocations: 96.86 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.023, allocations: 0 / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002515/1.024, allocations: 166.7 kB / 1.046 GB, free: 53.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.024, allocations: 5.875 kB / 1.046 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/1.024, allocations: 4.703 kB / 1.046 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/1.024, allocations: 9.031 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/1.024, allocations: 8.516 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.024, allocations: 1.062 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/1.024, allocations: 88.27 kB / 1.047 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/1.024, allocations: 4.312 kB / 1.047 GB, free: 53.94 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.0001507/1.024, allocations: 133.5 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/1.024, allocations: 19.97 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/1.024, allocations: 17.2 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/1.024, allocations: 3.938 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.024, allocations: 0 / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/1.024, allocations: 0.9688 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/1.025, allocations: 198.4 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.025, allocations: 3.938 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/1.025, allocations: 8.062 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.025, allocations: 0 / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/1.025, allocations: 2.812 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.025, allocations: 2.719 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.025, allocations: 4 kB / 1.047 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/1.025, allocations: 187.5 kB / 1.047 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/1.025, allocations: 93.22 kB / 1.047 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/1.025, allocations: 1.719 kB / 1.047 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/1.025, allocations: 8.688 kB / 1.047 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/1.025, allocations: 5.891 kB / 1.047 GB, free: 53.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/1.025, allocations: 8.5 kB / 1.047 GB, free: 53.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.969e-05/1.025, allocations: 109.2 kB / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.025, allocations: 0 / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003603/1.026, allocations: 72.78 kB / 1.047 GB, free: 53.25 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.0003303/1.026, allocations: 172.8 kB / 1.048 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003045/1.026, allocations: 169.2 kB / 1.048 GB, free: 53.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.026, allocations: 0 / 1.048 GB, free: 53.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-05/1.027, allocations: 48.48 kB / 1.048 GB, free: 53.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/1.027, allocations: 13.11 kB / 1.048 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/1.027, allocations: 250.4 kB / 1.048 GB, free: 52.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/1.028, allocations: 0.7044 MB / 1.049 GB, free: 52.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.173e-05/1.028, allocations: 6.031 kB / 1.049 GB, free: 52.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/1.028, allocations: 16.03 kB / 1.049 GB, free: 52.12 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.028, allocations: 0 / 1.049 GB, free: 52.12 MB / 0.698 GB Notification: Performance of Templates: time 0.006143/1.034, allocations: 2.389 MB / 1.051 GB, free: 51.92 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)