Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 78.64 kB / 19.76 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 159.3 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.964/2.964, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191/1.193, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003687/1.196, allocations: 1.433 MB / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001061/1.198, allocations: 457.3 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/1.198, allocations: 0 / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 8.395e-05/1.198, allocations: 11.25 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/1.198, allocations: 12.56 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/1.199, allocations: 241.1 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000288/1.199, allocations: 149.4 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/1.199, allocations: 2.984 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/1.199, allocations: 60.84 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/1.199, allocations: 36.83 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/1.199, allocations: 14.31 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/1.2, allocations: 188.7 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/1.2, allocations: 37.91 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.481e-05/1.2, allocations: 40.45 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000448/1.2, allocations: 235.3 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.2, allocations: 0.75 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/1.2, allocations: 0 / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.773e-06/1.2, allocations: 5 kB / 1.189 GB, free: 14.54 MB / 1.076 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.0005946/1.201, allocations: 373.9 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.201, allocations: 9.562 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/1.201, allocations: 16.89 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/1.201, allocations: 148.4 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/1.201, allocations: 5.844 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/1.201, allocations: 13.25 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/1.202, allocations: 81.06 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.202, allocations: 4.125 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/1.202, allocations: 5.312 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.202, allocations: 1.719 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/1.202, allocations: 39.36 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/1.202, allocations: 162.8 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/1.202, allocations: 77.95 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.995e-05/1.202, allocations: 51.69 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/1.202, allocations: 1.062 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/1.202, allocations: 120.4 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/1.202, allocations: 0 / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.0004273/1.203, allocations: 183.8 kB / 1.191 GB, free: 13.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.203, allocations: 87.31 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/1.203, allocations: 153.7 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/1.203, allocations: 34.92 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/1.203, allocations: 101.2 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/1.203, allocations: 39.98 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/1.203, allocations: 53.91 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.111e-05/1.203, allocations: 324 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.452e-05/1.203, allocations: 41.95 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/1.204, allocations: 0.5921 MB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/1.204, allocations: 98.44 kB / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.204, allocations: 0 / 1.192 GB, free: 12.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003273/1.204, allocations: 160.2 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.204, allocations: 10.33 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/1.204, allocations: 10.44 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.204, allocations: 6.234 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/1.204, allocations: 7.031 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/1.204, allocations: 2.656 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/1.205, allocations: 76.98 kB / 1.192 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/1.205, allocations: 8.188 kB / 1.192 GB, free: 12 MB / 1.076 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 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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.0001134/1.205, allocations: 139.2 kB / 1.193 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/1.205, allocations: 16.81 kB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/1.205, allocations: 14.11 kB / 1.193 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/1.205, allocations: 6.016 kB / 1.193 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.205, allocations: 0 / 1.193 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/1.205, allocations: 2.094 kB / 1.193 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/1.205, allocations: 127.2 kB / 1.193 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.205, allocations: 1.156 kB / 1.193 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/1.205, allocations: 10.73 kB / 1.193 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/1.205, allocations: 1.703 kB / 1.193 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/1.205, allocations: 9.578 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.205, allocations: 1.094 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.205, allocations: 1.375 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/1.206, allocations: 188.1 kB / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/1.206, allocations: 11.92 kB / 1.193 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/1.206, allocations: 6.734 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/1.206, allocations: 7.547 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/1.206, allocations: 10.12 kB / 1.193 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/1.206, allocations: 7.141 kB / 1.193 GB, free: 11.56 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.131e-05/1.206, allocations: 113 kB / 1.193 GB, free: 11.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.206, allocations: 3.938 kB / 1.193 GB, free: 11.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005134/1.206, allocations: 75.86 kB / 1.193 GB, free: 11.46 MB / 1.076 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.0002977/1.207, allocations: 164.5 kB / 1.193 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003366/1.207, allocations: 158 kB / 1.193 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.207, allocations: 0.9688 kB / 1.193 GB, free: 11.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.324e-05/1.207, allocations: 40.31 kB / 1.193 GB, free: 11.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/1.207, allocations: 8.391 kB / 1.193 GB, free: 11.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/1.208, allocations: 227.7 kB / 1.194 GB, free: 11.08 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/1.208, allocations: 95.36 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.499e-05/1.208, allocations: 8.734 kB / 1.194 GB, free: 10.99 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/1.208, allocations: 13.69 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/1.208, allocations: 0 / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of Templates: time 0.008531/1.217, allocations: 2.707 MB / 1.196 GB, free: 10.64 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.673693888937123]