Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009767/0.0009764, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007211/0.007211, allocations: 172 kB / 16.27 MB, free: 6.648 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.533/1.533, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.853/2.853, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004946, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167/1.168, allocations: 142.4 MB / 0.955 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002826/1.171, allocations: 1.206 MB / 0.9562 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001958/1.173, allocations: 0.7157 MB / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/1.173, allocations: 1.094 kB / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/1.173, allocations: 8.922 kB / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/1.173, allocations: 10.28 kB / 0.9569 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/1.175, allocations: 288.4 kB / 0.9572 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004756/1.175, allocations: 151 kB / 0.9573 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/1.175, allocations: 16.5 kB / 0.9574 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/1.175, allocations: 62.02 kB / 0.9574 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/1.176, allocations: 52.45 kB / 0.9575 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/1.176, allocations: 6.656 kB / 0.9575 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007283/1.176, allocations: 238.9 kB / 0.9577 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/1.177, allocations: 39.5 kB / 0.9577 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/1.177, allocations: 79.3 kB / 0.9578 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007536/1.178, allocations: 293.5 kB / 0.9581 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.178, allocations: 5.156 kB / 0.9581 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.624e-06/1.178, allocations: 0 / 0.9581 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.057e-06/1.178, allocations: 0 / 0.9581 GB, free: 5.492 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.0008357/1.178, allocations: 445.6 kB / 0.9585 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/1.179, allocations: 9.625 kB / 0.9585 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.721e-05/1.179, allocations: 15.62 kB / 0.9585 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/1.179, allocations: 209.8 kB / 0.9587 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/1.179, allocations: 12.5 kB / 0.9588 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/1.179, allocations: 8.625 kB / 0.9588 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/1.179, allocations: 104.7 kB / 0.9589 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/1.179, allocations: 4.172 kB / 0.9589 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/1.179, allocations: 9.312 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.179, allocations: 1.375 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/1.179, allocations: 46.03 kB / 0.9589 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/1.18, allocations: 248.1 kB / 0.9592 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/1.18, allocations: 111.6 kB / 0.9593 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/1.18, allocations: 67.67 kB / 0.9593 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/1.18, allocations: 9.359 kB / 0.9593 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/1.18, allocations: 136.8 kB / 0.9595 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/1.18, allocations: 0 / 0.9595 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0004871/1.181, allocations: 216.4 kB / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/1.181, allocations: 121.7 kB / 0.9598 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/1.181, allocations: 143 kB / 0.9599 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/1.181, allocations: 38.95 kB / 0.96 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/1.181, allocations: 97 kB / 0.9601 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/1.181, allocations: 58.94 kB / 0.9601 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/1.181, allocations: 34.86 kB / 0.9602 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.005e-05/1.181, allocations: 323.8 kB / 0.9605 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/1.181, allocations: 52.97 kB / 0.9605 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/1.182, allocations: 175.9 kB / 0.9607 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/1.182, allocations: 135.8 kB / 0.9608 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.182, allocations: 1 kB / 0.9608 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00036/1.182, allocations: 212.9 kB / 0.961 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.182, allocations: 7.219 kB / 0.961 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/1.182, allocations: 4.125 kB / 0.961 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/1.182, allocations: 1.375 kB / 0.961 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/1.182, allocations: 11 kB / 0.961 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.182, allocations: 5.312 kB / 0.961 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/1.183, allocations: 61.31 kB / 0.9611 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/1.183, allocations: 6.031 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.0001359/1.183, allocations: 138.1 kB / 0.9612 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/1.183, allocations: 13.31 kB / 0.9612 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/1.183, allocations: 19.64 kB / 0.9613 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.183, allocations: 2.031 kB / 0.9613 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.183, allocations: 1.969 kB / 0.9613 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.183, allocations: 1.031 kB / 0.9613 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/1.183, allocations: 212.9 kB / 0.9615 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.183, allocations: 5.125 kB / 0.9615 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/1.183, allocations: 15.91 kB / 0.9615 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.183, allocations: 1.625 kB / 0.9615 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/1.183, allocations: 2.969 kB / 0.9615 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/1.183, allocations: 0.8125 kB / 0.9615 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.183, allocations: 2.719 kB / 0.9615 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/1.184, allocations: 212.8 kB / 0.9617 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/1.184, allocations: 92.83 kB / 0.9618 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/1.184, allocations: 5.969 kB / 0.9618 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/1.184, allocations: 12.8 kB / 0.9618 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/1.184, allocations: 12.23 kB / 0.9618 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/1.184, allocations: 4.469 kB / 0.9618 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.903e-05/1.184, allocations: 102.7 kB / 0.9619 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.184, allocations: 1.125 kB / 0.9619 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004986/1.184, allocations: 109.3 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.0004368/1.185, allocations: 196.7 kB / 0.9622 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003833/1.185, allocations: 218.6 kB / 0.9624 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.185, allocations: 1.094 kB / 0.9624 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/1.185, allocations: 61.12 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.0002254/1.186, allocations: 7.375 kB / 0.9625 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/1.186, allocations: 282.3 kB / 0.9628 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/1.186, allocations: 0.7107 MB / 0.9635 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.031e-05/1.187, allocations: 12.19 kB / 0.9635 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/1.187, allocations: 13.81 kB / 0.9635 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/1.187, allocations: 0 / 0.9635 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of Templates: time 0.008437/1.195, allocations: 2.922 MB / 0.9663 GB, free: 15.3 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches