Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001956/0.001956, allocations: 108.1 kB / 16.41 MB, free: 6.457 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.002184/0.002185, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.439/1.439, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223/1.225, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003097/1.228, allocations: 1.413 MB / 1.09 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001035/1.229, allocations: 0.5052 MB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/1.229, allocations: 5.094 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.194e-05/1.229, allocations: 10.78 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/1.23, allocations: 8.562 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000892/1.23, allocations: 228.5 kB / 1.091 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/1.231, allocations: 146.7 kB / 1.091 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/1.231, allocations: 8.172 kB / 1.091 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/1.231, allocations: 53.41 kB / 1.091 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/1.231, allocations: 48 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/1.231, allocations: 9.562 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/1.231, allocations: 172.6 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.339e-05/1.232, allocations: 34.91 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.784e-05/1.232, allocations: 57.55 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004343/1.232, allocations: 229.8 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.232, allocations: 0 / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.555e-06/1.232, allocations: 1.312 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.209e-05/1.232, allocations: 0 / 1.091 GB, free: 4.055 MB / 0.8575 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.0006421/1.233, allocations: 450.2 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.233, allocations: 9.953 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/1.233, allocations: 12.75 kB / 1.092 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/1.233, allocations: 205.9 kB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/1.233, allocations: 9.828 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/1.233, allocations: 9.406 kB / 1.092 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/1.233, allocations: 88.09 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.233, allocations: 4.984 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/1.233, allocations: 4.75 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/1.233, allocations: 1.562 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/1.234, allocations: 36.36 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/1.234, allocations: 228 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/1.234, allocations: 79.88 kB / 1.093 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.415e-05/1.234, allocations: 62.39 kB / 1.093 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/1.234, allocations: 1.188 kB / 1.093 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/1.234, allocations: 114.9 kB / 1.093 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/1.234, allocations: 0 / 1.093 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0004086/1.235, allocations: 189 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/1.235, allocations: 87.41 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/1.235, allocations: 153.8 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/1.235, allocations: 34.3 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/1.235, allocations: 101.3 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/1.235, allocations: 36.31 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/1.235, allocations: 53.17 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.498e-05/1.235, allocations: 323.1 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/1.235, allocations: 41.5 kB / 1.094 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/1.236, allocations: 199.9 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/1.236, allocations: 97.67 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.236, allocations: 0 / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002611/1.236, allocations: 172.3 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.236, allocations: 5.422 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/1.236, allocations: 7.766 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.236, allocations: 1.219 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/1.236, allocations: 7.953 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.236, allocations: 1.5 kB / 1.094 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/1.237, allocations: 79.22 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/1.237, allocations: 3.656 kB / 1.094 GB, free: 1.781 MB / 0.8575 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.0001149/1.237, allocations: 134.7 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/1.237, allocations: 17.36 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/1.237, allocations: 18.25 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.237, allocations: 0.9375 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.237, allocations: 0 / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/1.237, allocations: 89.62 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/1.237, allocations: 2.422 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/1.237, allocations: 3.781 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/1.237, allocations: 4.359 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002914/1.237, allocations: 318.1 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002829/1.238, allocations: 402.5 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.605e-05/1.238, allocations: 44.78 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.962e-05/1.238, allocations: 112.4 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of Backend: time 4.51e-07/1.238, allocations: 0.75 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008275/1.239, allocations: 267 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005151/1.239, allocations: 0.6423 MB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of Templates: time 0.007928/1.247, allocations: 2.602 MB / 1.099 GB, free: 15.85 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches