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.00163/0.00163, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001544/0.001544, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.446/1.446, allocations: 225.6 MB / 250.9 MB, free: 13.3 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 2.855/2.855, 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.002089/0.002089, allocations: 67.89 kB / 1.109 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 168.7 MB / 1.274 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003615/1.067, allocations: 1.429 MB / 1.275 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001331/1.068, allocations: 0.506 MB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/1.068, allocations: 0 / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.419e-05/1.068, allocations: 11.92 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.928e-05/1.068, allocations: 7.938 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/1.069, allocations: 230.7 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003028/1.07, allocations: 143.7 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.859e-05/1.07, allocations: 7.953 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.399e-05/1.07, allocations: 55.89 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/1.07, allocations: 47.77 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/1.07, allocations: 8 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/1.07, allocations: 183.8 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.482e-05/1.07, allocations: 35.91 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/1.07, allocations: 51.78 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/1.071, allocations: 230 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.071, allocations: 0 / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.625e-06/1.071, allocations: 0 / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.071, allocations: 0 / 1.277 GB, free: 1.512 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.0007731/1.072, allocations: 450.7 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/1.072, allocations: 12.02 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/1.072, allocations: 16.89 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/1.072, allocations: 216.1 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/1.072, allocations: 8.375 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/1.072, allocations: 8.375 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/1.072, allocations: 79.95 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.072, allocations: 192 / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/1.072, allocations: 7.922 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.072, allocations: 0 / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.831e-05/1.072, allocations: 39.92 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/1.073, allocations: 242.4 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/1.073, allocations: 69.25 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.735e-05/1.073, allocations: 57.73 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/1.073, allocations: 0 / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/1.073, allocations: 113 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/1.073, allocations: 0 / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0004365/1.074, allocations: 193.4 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/1.074, allocations: 85.11 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/1.074, allocations: 155.8 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/1.074, allocations: 33.7 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.074, allocations: 108.5 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/1.074, allocations: 27.75 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/1.074, allocations: 53.69 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.074, allocations: 326.8 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.829e-05/1.075, allocations: 39.98 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/1.075, allocations: 199.3 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/1.075, allocations: 97.62 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.075, allocations: 0 / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002651/1.075, allocations: 169.4 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/1.075, allocations: 9.562 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/1.075, allocations: 4 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.075, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/1.075, allocations: 8 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.075, allocations: 3.938 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/1.076, allocations: 85.75 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/1.076, allocations: 4 kB / 1.28 GB, free: 14.33 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.0001464/1.076, allocations: 133.8 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/1.076, allocations: 11.89 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/1.076, allocations: 20.64 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/1.076, allocations: 4 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.076, allocations: 4 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.076, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/1.076, allocations: 193.6 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/1.076, allocations: 7.938 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/1.076, allocations: 8 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.076, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/1.076, allocations: 4 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/1.076, allocations: 3.938 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.076, allocations: 0 / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/1.077, allocations: 184.1 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/1.077, allocations: 96.89 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/1.077, allocations: 3.984 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/1.077, allocations: 8 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/1.077, allocations: 0 / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/1.077, allocations: 11.92 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001037/1.077, allocations: 117.3 kB / 1.28 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.077, allocations: 0 / 1.28 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003479/1.077, allocations: 71.88 kB / 1.281 GB, free: 13.36 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.0003012/1.077, allocations: 167.5 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003253/1.078, allocations: 159.6 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.078, allocations: 0 / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/1.078, allocations: 39.97 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/1.078, allocations: 11.94 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/1.079, allocations: 243.3 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/1.079, allocations: 0.7002 MB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.948e-05/1.079, allocations: 12.66 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/1.079, allocations: 15.44 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of SimCode: time 1.022e-06/1.079, allocations: 0 / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of Templates: time 0.006567/1.086, allocations: 2.542 MB / 1.284 GB, free: 9.438 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 cvode -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.460886591579765]