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.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.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.0009843/0.0009843, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0103/0.0103, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.785/2.785, allocations: 390.9 MB / 0.6663 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005459/0.0005457, allocations: 12 kB / 0.8159 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.102, allocations: 142.4 MB / 0.955 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001926/1.104, allocations: 1.206 MB / 0.9562 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001276/1.106, allocations: 0.7123 MB / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/1.106, allocations: 1.094 kB / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.708e-05/1.106, allocations: 12.86 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/1.106, allocations: 10.03 kB / 0.9569 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009165/1.107, allocations: 288 kB / 0.9572 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002752/1.107, allocations: 155.7 kB / 0.9574 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.135e-05/1.107, allocations: 11.94 kB / 0.9574 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/1.107, allocations: 61.88 kB / 0.9574 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/1.107, allocations: 53.88 kB / 0.9575 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/1.107, allocations: 9.375 kB / 0.9575 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/1.108, allocations: 243.8 kB / 0.9577 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8e-05/1.108, allocations: 33.7 kB / 0.9577 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.663e-05/1.108, allocations: 85.09 kB / 0.9578 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004253/1.108, allocations: 288.6 kB / 0.9581 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.108, allocations: 1.781 kB / 0.9581 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.246e-06/1.109, allocations: 0 / 0.9581 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.109, allocations: 0 / 0.9581 GB, free: 5.488 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.0006387/1.109, allocations: 454.5 kB / 0.9585 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.109, allocations: 9.688 kB / 0.9585 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/1.109, allocations: 15.38 kB / 0.9586 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/1.11, allocations: 203.9 kB / 0.9588 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/1.11, allocations: 9.875 kB / 0.9588 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/1.11, allocations: 8.625 kB / 0.9588 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/1.11, allocations: 104.4 kB / 0.9589 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.11, allocations: 192 / 0.9589 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.11, allocations: 9.297 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/1.11, allocations: 1.375 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/1.11, allocations: 46.05 kB / 0.9589 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/1.11, allocations: 248 kB / 0.9592 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/1.11, allocations: 115.6 kB / 0.9593 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/1.11, allocations: 70.28 kB / 0.9593 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/1.111, allocations: 1.375 kB / 0.9593 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/1.111, allocations: 148 kB / 0.9595 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/1.111, allocations: 1.375 kB / 0.9595 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0004688/1.111, allocations: 216.2 kB / 0.9597 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/1.111, allocations: 114.9 kB / 0.9598 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/1.111, allocations: 142.4 kB / 0.9599 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/1.111, allocations: 39.11 kB / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/1.112, allocations: 93.48 kB / 0.9601 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-05/1.112, allocations: 64.55 kB / 0.9601 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/1.112, allocations: 34.86 kB / 0.9602 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/1.112, allocations: 322.4 kB / 0.9605 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/1.112, allocations: 53.47 kB / 0.9605 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/1.112, allocations: 178.8 kB / 0.9607 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/1.112, allocations: 132.1 kB / 0.9608 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/1.112, allocations: 1.156 kB / 0.9608 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003443/1.113, allocations: 204.3 kB / 0.961 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.113, allocations: 9.484 kB / 0.961 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/1.113, allocations: 8.125 kB / 0.961 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.113, allocations: 1.375 kB / 0.961 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/1.113, allocations: 11 kB / 0.961 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/1.113, allocations: 5.375 kB / 0.961 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/1.113, allocations: 61.16 kB / 0.9611 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/1.113, allocations: 5.5 kB / 0.9611 GB, free: 2.828 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 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001261/1.113, allocations: 137.8 kB / 0.9612 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/1.113, allocations: 17.34 kB / 0.9613 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/1.113, allocations: 19.45 kB / 0.9613 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.113, allocations: 2.75 kB / 0.9613 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.113, allocations: 0 / 0.9613 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.113, allocations: 1.375 kB / 0.9613 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/1.114, allocations: 209.2 kB / 0.9615 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.114, allocations: 4.969 kB / 0.9615 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/1.114, allocations: 12.94 kB / 0.9615 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.114, allocations: 1 kB / 0.9615 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/1.114, allocations: 2.406 kB / 0.9615 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.114, allocations: 5.906 kB / 0.9615 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.114, allocations: 0.9062 kB / 0.9615 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/1.114, allocations: 210.9 kB / 0.9617 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/1.114, allocations: 88.98 kB / 0.9618 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/1.114, allocations: 6.062 kB / 0.9618 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.957e-05/1.114, allocations: 13.22 kB / 0.9618 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/1.114, allocations: 23.94 kB / 0.9618 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/1.114, allocations: 4.875 kB / 0.9618 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.474e-05/1.114, allocations: 104.2 kB / 0.9619 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.114, allocations: 0 / 0.9619 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000455/1.115, allocations: 106.1 kB / 0.962 GB, free: 2.039 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 (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.0004106/1.115, allocations: 196.5 kB / 0.9622 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003917/1.116, allocations: 212.8 kB / 0.9624 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.116, allocations: 4 kB / 0.9624 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/1.116, allocations: 65.11 kB / 0.9625 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/1.116, allocations: 13.97 kB / 0.9625 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/1.117, allocations: 282.2 kB / 0.9628 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/1.117, allocations: 0.7057 MB / 0.9635 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.388e-05/1.117, allocations: 13.5 kB / 0.9635 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/1.117, allocations: 13.72 kB / 0.9635 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/1.117, allocations: 0 / 0.9635 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of Templates: time 0.008075/1.125, allocations: 2.924 MB / 0.9663 GB, free: 15.29 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