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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 120.6 kB / 16.81 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 199.1 kB / 17.77 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.98 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4781, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002953/0.4811, allocations: 1.418 MB / 1.263 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.4822, allocations: 0.5025 MB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.4823, allocations: 0 / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.996e-05/0.4824, allocations: 7.938 kB / 1.264 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.4824, allocations: 11.92 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008637/0.4833, allocations: 234.6 kB / 1.264 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.4835, allocations: 147.7 kB / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.4836, allocations: 11.94 kB / 1.264 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.4837, allocations: 51.91 kB / 1.264 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.4838, allocations: 51.75 kB / 1.264 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.4838, allocations: 8 kB / 1.264 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.4842, allocations: 171.8 kB / 1.265 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.4843, allocations: 43.88 kB / 1.265 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.4843, allocations: 43.8 kB / 1.265 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.4847, allocations: 239.2 kB / 1.265 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4848, allocations: 0 / 1.265 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4848, allocations: 0 / 1.265 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4848, allocations: 0 / 1.265 GB, free: 10.07 MB / 0.9825 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.0007177/0.4855, allocations: 450.7 kB / 1.265 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4855, allocations: 8.031 kB / 1.265 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.4856, allocations: 20.89 kB / 1.265 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.4859, allocations: 212.1 kB / 1.266 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.4859, allocations: 4.375 kB / 1.266 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.4859, allocations: 20.36 kB / 1.266 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.4861, allocations: 79.89 kB / 1.266 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4861, allocations: 4.188 kB / 1.266 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4861, allocations: 3.938 kB / 1.266 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4861, allocations: 0 / 1.266 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.4862, allocations: 43.92 kB / 1.266 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.4866, allocations: 230.5 kB / 1.266 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.4867, allocations: 73.2 kB / 1.266 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.4868, allocations: 53.84 kB / 1.266 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.4868, allocations: 0 / 1.266 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.4871, allocations: 109 kB / 1.266 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.4871, allocations: 0 / 1.266 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0004207/0.4875, allocations: 193.9 kB / 1.266 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4876, allocations: 89.09 kB / 1.266 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.4878, allocations: 148 kB / 1.267 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.4879, allocations: 37.7 kB / 1.267 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.488, allocations: 104.5 kB / 1.267 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.488, allocations: 35.73 kB / 1.267 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.4881, allocations: 49.7 kB / 1.267 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0004111/0.4885, allocations: 326.8 kB / 1.267 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.4886, allocations: 35.98 kB / 1.267 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.4889, allocations: 207.3 kB / 1.267 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.489, allocations: 89.7 kB / 1.267 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4891, allocations: 0 / 1.267 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002713/0.4893, allocations: 173.3 kB / 1.268 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4893, allocations: 8 kB / 1.268 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.4894, allocations: 4 kB / 1.268 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4894, allocations: 0 / 1.268 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.4895, allocations: 15.98 kB / 1.268 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4895, allocations: 160 / 1.268 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.4898, allocations: 75.8 kB / 1.268 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.4898, allocations: 7.984 kB / 1.268 GB, free: 6.895 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.0001532/0.49, allocations: 138.6 kB / 1.268 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.49, allocations: 11.89 kB / 1.268 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.49, allocations: 12.72 kB / 1.268 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.49, allocations: 4.078 kB / 1.268 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.49, allocations: 7.938 kB / 1.268 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.4901, allocations: 92.95 kB / 1.268 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.4901, allocations: 7.984 kB / 1.268 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-05/0.4902, allocations: 4 kB / 1.268 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.4902, allocations: 4 kB / 1.268 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003303/0.4906, allocations: 308.1 kB / 1.268 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000362/0.4909, allocations: 413.9 kB / 1.269 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.877e-05/0.491, allocations: 35.92 kB / 1.269 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001003/0.4911, allocations: 117.1 kB / 1.269 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of Backend: time 4.41e-07/0.4911, allocations: 0 / 1.269 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000799/0.4919, allocations: 261.5 kB / 1.269 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006864/0.4926, allocations: 0.6366 MB / 1.27 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.0072/0.4998, allocations: 2.63 MB / 1.272 GB, free: 2.152 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches