Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001177/0.001177, allocations: 172.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.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.642/2.642, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003814, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8945/0.895, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001698/0.8967, allocations: 1.173 MB / 0.9556 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.8978, allocations: 0.6576 MB / 0.9562 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.8979, allocations: 0 / 0.9562 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.538e-05/0.8979, allocations: 1.125 kB / 0.9562 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.898, allocations: 18.97 kB / 0.9562 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008775/0.8989, allocations: 276 kB / 0.9565 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.8992, allocations: 147.2 kB / 0.9566 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.73e-05/0.8992, allocations: 12.11 kB / 0.9566 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.8993, allocations: 62.61 kB / 0.9567 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.8994, allocations: 45.73 kB / 0.9568 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.8995, allocations: 6.781 kB / 0.9568 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.8998, allocations: 226.6 kB / 0.957 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.8999, allocations: 38.08 kB / 0.957 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.36e-05/0.9, allocations: 43.86 kB / 0.9571 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.9003, allocations: 211.2 kB / 0.9573 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9003, allocations: 0 / 0.9573 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9003, allocations: 0 / 0.9573 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.9003, allocations: 1.75 kB / 0.9573 GB, free: 5.672 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005669/0.9009, allocations: 449.6 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.901, allocations: 9.031 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.901, allocations: 18.64 kB / 0.9577 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.9012, allocations: 209.3 kB / 0.9579 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.9013, allocations: 4.125 kB / 0.9579 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.9013, allocations: 12.25 kB / 0.9579 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.9015, allocations: 98.3 kB / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.9015, allocations: 0 / 0.958 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.9015, allocations: 5.375 kB / 0.958 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.9015, allocations: 5.359 kB / 0.958 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.9017, allocations: 45.75 kB / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.9019, allocations: 248.2 kB / 0.9583 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.9021, allocations: 111.4 kB / 0.9584 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.9022, allocations: 73.89 kB / 0.9585 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.9023, allocations: 5.375 kB / 0.9585 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.9025, allocations: 148.7 kB / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 2.845e-06/0.9025, allocations: 0 / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0004648/0.903, allocations: 208.4 kB / 0.9588 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.9031, allocations: 113.7 kB / 0.9589 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.9032, allocations: 151.7 kB / 0.9591 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.9032, allocations: 35.02 kB / 0.9591 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.9033, allocations: 93.64 kB / 0.9592 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.228e-05/0.9034, allocations: 59.47 kB / 0.9593 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.9034, allocations: 5.031 kB / 0.9593 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.9035, allocations: 326.5 kB / 0.9596 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.9036, allocations: 48.77 kB / 0.9596 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.9038, allocations: 181.8 kB / 0.9598 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.9039, allocations: 75.72 kB / 0.9599 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9039, allocations: 1.375 kB / 0.9599 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003037/0.9042, allocations: 191 kB / 0.9601 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.9043, allocations: 9.438 kB / 0.9601 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.9043, allocations: 4.359 kB / 0.9601 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.9043, allocations: 1.375 kB / 0.9601 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.9044, allocations: 13.62 kB / 0.9601 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.9045, allocations: 14.72 kB / 0.9601 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.9047, allocations: 58.75 kB / 0.9602 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.9047, allocations: 5.5 kB / 0.9602 GB, free: 3.082 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001212/0.9048, allocations: 139.2 kB / 0.9603 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.9048, allocations: 19.92 kB / 0.9603 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.9049, allocations: 12.84 kB / 0.9603 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.9049, allocations: 5.375 kB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.9049, allocations: 1.375 kB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.9049, allocations: 1.516 kB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.9051, allocations: 208.7 kB / 0.9605 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9051, allocations: 1.375 kB / 0.9605 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.9051, allocations: 16.17 kB / 0.9605 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.9051, allocations: 1.375 kB / 0.9605 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.9051, allocations: 6.75 kB / 0.9606 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.9052, allocations: 13.3 kB / 0.9606 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.9052, allocations: 1.375 kB / 0.9606 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.9054, allocations: 202.6 kB / 0.9608 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.9055, allocations: 94.05 kB / 0.9609 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.9055, allocations: 6.391 kB / 0.9609 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.9056, allocations: 12.38 kB / 0.9609 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.9057, allocations: 7.984 kB / 0.9609 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.9057, allocations: 4.719 kB / 0.9609 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.045e-05/0.9058, allocations: 115.9 kB / 0.961 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9058, allocations: 0 / 0.961 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004576/0.9062, allocations: 101.8 kB / 0.9611 GB, free: 2.293 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003337/0.9066, allocations: 206.7 kB / 0.9613 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.9069, allocations: 218.7 kB / 0.9615 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9069, allocations: 0.9688 kB / 0.9615 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.907, allocations: 51.83 kB / 0.9615 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.9072, allocations: 11.61 kB / 0.9616 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.9077, allocations: 271.2 kB / 0.9618 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.9079, allocations: 0.7094 MB / 0.9625 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.952e-05/0.908, allocations: 11.97 kB / 0.9625 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.908, allocations: 14.22 kB / 0.9625 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.908, allocations: 0 / 0.9625 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.006793/0.9148, allocations: 2.874 MB / 0.9653 GB, free: 15.57 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches