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.001777/0.001777, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002078/0.002078, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.582/1.582, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.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.867/2.867, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 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.002341/0.002341, allocations: 55.91 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527/1.529, allocations: 168.7 MB / 1.272 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002952/1.532, allocations: 1.439 MB / 1.273 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009979/1.533, allocations: 0.5019 MB / 1.274 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/1.533, allocations: 0.9375 kB / 1.274 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.681e-05/1.533, allocations: 11.67 kB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.517e-05/1.534, allocations: 12.7 kB / 1.274 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/1.534, allocations: 228.6 kB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/1.535, allocations: 146.1 kB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/1.535, allocations: 3.406 kB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.055e-05/1.535, allocations: 57.58 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.696e-05/1.535, allocations: 40.77 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/1.535, allocations: 13.59 kB / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/1.535, allocations: 179.4 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/1.535, allocations: 35.84 kB / 1.275 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.943e-05/1.535, allocations: 47.55 kB / 1.275 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003853/1.536, allocations: 234.5 kB / 1.275 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.536, allocations: 0 / 1.275 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.615e-06/1.536, allocations: 4.562 kB / 1.275 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.536, allocations: 0 / 1.275 GB, free: 6.398 MB / 0.9981 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.0006006/1.536, allocations: 446.8 kB / 1.275 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.536, allocations: 13.44 kB / 1.275 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/1.536, allocations: 17.05 kB / 1.275 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/1.537, allocations: 210.5 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.537, allocations: 13.31 kB / 1.275 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/1.537, allocations: 9.469 kB / 1.275 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/1.537, allocations: 80.64 kB / 1.276 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.537, allocations: 1.125 kB / 1.276 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/1.537, allocations: 3.938 kB / 1.276 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.537, allocations: 5.594 kB / 1.276 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.151e-05/1.537, allocations: 36.8 kB / 1.276 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/1.537, allocations: 240.3 kB / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/1.537, allocations: 68.81 kB / 1.276 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/1.537, allocations: 56.17 kB / 1.276 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/1.537, allocations: 4.812 kB / 1.276 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/1.538, allocations: 110.9 kB / 1.276 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/1.538, allocations: 0 / 1.276 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0003813/1.538, allocations: 189.5 kB / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/1.538, allocations: 87.17 kB / 1.276 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/1.538, allocations: 154.6 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/1.538, allocations: 38.17 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/1.538, allocations: 103.4 kB / 1.277 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/1.538, allocations: 30.39 kB / 1.277 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/1.538, allocations: 48.86 kB / 1.277 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/1.538, allocations: 327.7 kB / 1.277 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/1.539, allocations: 44.7 kB / 1.277 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/1.539, allocations: 200.8 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/1.539, allocations: 102.2 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.539, allocations: 0 / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002471/1.539, allocations: 168.2 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.539, allocations: 5.656 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/1.539, allocations: 4 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/1.539, allocations: 0.875 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/1.539, allocations: 11.48 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.539, allocations: 3.312 kB / 1.278 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/1.54, allocations: 82.23 kB / 1.278 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/1.54, allocations: 7.547 kB / 1.278 GB, free: 4.113 MB / 0.9981 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 9.916e-05/1.54, allocations: 131.8 kB / 1.278 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/1.54, allocations: 16.56 kB / 1.278 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.446e-05/1.54, allocations: 13.72 kB / 1.278 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.54, allocations: 5.906 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.54, allocations: 0.6562 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.54, allocations: 1.031 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/1.54, allocations: 192 kB / 1.278 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.54, allocations: 3.938 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/1.54, allocations: 6.344 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.54, allocations: 0.875 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/1.54, allocations: 1.375 kB / 1.278 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.54, allocations: 5.719 kB / 1.278 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.54, allocations: 4.594 kB / 1.278 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/1.54, allocations: 182.7 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/1.54, allocations: 92.19 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/1.54, allocations: 2.75 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/1.54, allocations: 6.578 kB / 1.278 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/1.54, allocations: 6.5 kB / 1.278 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/1.54, allocations: 3.094 kB / 1.278 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.605e-05/1.54, allocations: 120.4 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.54, allocations: 0 / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003584/1.541, allocations: 73.14 kB / 1.278 GB, free: 3.422 MB / 0.9981 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.0002671/1.541, allocations: 170.8 kB / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002857/1.541, allocations: 156.4 kB / 1.279 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.541, allocations: 3.938 kB / 1.279 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.401e-05/1.541, allocations: 36.23 kB / 1.279 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/1.542, allocations: 11.5 kB / 1.279 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/1.542, allocations: 234.7 kB / 1.279 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/1.542, allocations: 0.7066 MB / 1.28 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.571e-05/1.542, allocations: 16.38 kB / 1.28 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/1.542, allocations: 16.94 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.542, allocations: 0 / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of Templates: time 0.007039/1.549, allocations: 2.546 MB / 1.282 GB, free: 2.074 MB / 0.9981 GB " [Timeout remaining time 298] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.596315394155681]