Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 198.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.069/3.069, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003022/0.003022, allocations: 67.89 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.114, allocations: 168.7 MB / 1.274 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003137/1.117, allocations: 1.429 MB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001039/1.118, allocations: 0.4983 MB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/1.118, allocations: 4 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.461e-05/1.118, allocations: 7.922 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.631e-05/1.118, allocations: 15.86 kB / 1.276 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/1.119, allocations: 223.4 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/1.119, allocations: 147.7 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/1.119, allocations: 7.938 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.615e-05/1.12, allocations: 59.89 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/1.12, allocations: 35.84 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/1.12, allocations: 12 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/1.12, allocations: 179.8 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/1.12, allocations: 31.91 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/1.12, allocations: 55.78 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003778/1.121, allocations: 237.9 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.121, allocations: 0 / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.893e-06/1.121, allocations: 0 / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.121, allocations: 3.938 kB / 1.277 GB, free: 1.578 MB / 0.9669 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.000705/1.121, allocations: 450.7 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.121, allocations: 12.03 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/1.121, allocations: 12.89 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/1.122, allocations: 204.2 kB / 1.278 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/1.122, allocations: 12.38 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/1.122, allocations: 8.375 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/1.122, allocations: 87.88 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.122, allocations: 4.172 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/1.122, allocations: 3.938 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.122, allocations: 4 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/1.122, allocations: 31.98 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/1.122, allocations: 242.4 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/1.122, allocations: 73.14 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/1.122, allocations: 53.84 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/1.123, allocations: 0 / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/1.123, allocations: 116.2 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/1.123, allocations: 0 / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0004096/1.123, allocations: 189.5 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/1.123, allocations: 88.95 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/1.123, allocations: 152.3 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/1.123, allocations: 33.7 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/1.124, allocations: 104.5 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/1.124, allocations: 35.73 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.981e-05/1.124, allocations: 53.7 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.124, allocations: 322.8 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.073e-05/1.124, allocations: 43.92 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/1.124, allocations: 198.1 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/1.124, allocations: 105.5 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.124, allocations: 0 / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002651/1.125, allocations: 165.4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.125, allocations: 8 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/1.125, allocations: 0 / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.125, allocations: 8 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/1.125, allocations: 4 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/1.125, allocations: 7.938 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/1.125, allocations: 79.78 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/1.125, allocations: 4 kB / 1.28 GB, free: 14.4 MB / 0.9825 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.0001504/1.125, allocations: 139.3 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/1.125, allocations: 15.88 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/1.125, allocations: 16.72 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.125, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.125, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.125, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/1.125, allocations: 193.6 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.125, allocations: 11.94 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/1.126, allocations: 4 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/1.126, allocations: 96 / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/1.126, allocations: 4 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.126, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/1.126, allocations: 3.984 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/1.126, allocations: 184 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/1.126, allocations: 100.9 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/1.126, allocations: 4 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.23e-05/1.126, allocations: 4 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/1.126, allocations: 7.984 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/1.126, allocations: 0 / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000102/1.126, allocations: 117.3 kB / 1.28 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.126, allocations: 0 / 1.28 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003375/1.126, allocations: 71.88 kB / 1.281 GB, free: 13.44 MB / 0.9825 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.0002994/1.127, allocations: 173.8 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003221/1.127, allocations: 155.3 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.127, allocations: 0 / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.047e-05/1.127, allocations: 39.92 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/1.127, allocations: 13.81 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/1.128, allocations: 231.6 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/1.128, allocations: 0.708 MB / 1.282 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.951e-05/1.128, allocations: 16.59 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/1.128, allocations: 11.44 kB / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/1.128, allocations: 0 / 1.282 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of Templates: time 0.006805/1.135, allocations: 2.55 MB / 1.284 GB, free: 9.508 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.799764893949032]