Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001094/0.001094, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001263/0.001263, allocations: 168.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004181, allocations: 11.94 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7473, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001456/0.7488, allocations: 1.121 MB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.7496, allocations: 470.9 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.7497, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.245e-05/0.7498, allocations: 7.922 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-05/0.7498, allocations: 7.938 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.7505, allocations: 183.4 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.7507, allocations: 131.7 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.7508, allocations: 7.984 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.731e-05/0.7509, allocations: 51.89 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.7509, allocations: 47.83 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.751, allocations: 4 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.7512, allocations: 147.8 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.854e-05/0.7513, allocations: 31.89 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.7514, allocations: 45.64 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.7516, allocations: 169.6 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7516, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7516, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7516, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 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.0005526/0.7522, allocations: 426.8 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.7522, allocations: 12.56 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.7523, allocations: 11.91 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.7525, allocations: 212.8 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.7525, allocations: 7.953 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.7526, allocations: 12 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.7527, allocations: 79.33 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.7527, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.7528, allocations: 4 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.7528, allocations: 3.984 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.7529, allocations: 39.97 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.7531, allocations: 226.6 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.7533, allocations: 85.12 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/0.7534, allocations: 57.75 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.7534, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.7536, allocations: 117 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.7536, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0003849/0.754, allocations: 185.4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.7541, allocations: 89.03 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.7543, allocations: 151.5 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.7543, allocations: 33.7 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.7544, allocations: 96.52 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.7545, allocations: 43.55 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.7545, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7546, allocations: 326.8 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.753e-05/0.7547, allocations: 40.17 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.7549, allocations: 196.7 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.7551, allocations: 71.84 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7551, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000268/0.7553, allocations: 169.3 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.7554, allocations: 7.938 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.7554, allocations: 4 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7554, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.7555, allocations: 11.94 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.7555, allocations: 0 / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.7558, allocations: 91.75 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.7559, allocations: 4 kB / 1.027 GB, free: 10.57 MB / 0.7794 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.756, allocations: 145.7 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.756, allocations: 7.906 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.7561, allocations: 16.7 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7561, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7561, allocations: 4 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.7561, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.7563, allocations: 201.5 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7563, allocations: 3.953 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.7563, allocations: 8 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.7564, allocations: 4 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.7564, allocations: 3.938 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.7564, allocations: 4 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7564, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.7566, allocations: 169.9 kB / 1.028 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.7567, allocations: 97.05 kB / 1.028 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.7567, allocations: 7.984 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.735e-05/0.7568, allocations: 8 kB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.7568, allocations: 7.984 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.7569, allocations: 4 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.97e-05/0.757, allocations: 117 kB / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.757, allocations: 0 / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003327/0.7573, allocations: 71.94 kB / 1.028 GB, free: 9.609 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002692/0.7576, allocations: 173.7 kB / 1.028 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.7579, allocations: 171.3 kB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7579, allocations: 0 / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.758, allocations: 43.98 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.7581, allocations: 3.953 kB / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.7586, allocations: 250.5 kB / 1.029 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.7588, allocations: 0.7043 MB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.174e-05/0.7589, allocations: 8.672 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.7589, allocations: 15.42 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of SimCode: time 6.91e-07/0.7589, allocations: 0 / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of Templates: time 0.005384/0.7643, allocations: 2.317 MB / 1.032 GB, free: 5.895 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches