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.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.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.001149/0.001149, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0013/0.0013, allocations: 177.3 kB / 15.95 MB, free: 216 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.46/1.46, allocations: 223.2 MB / 239.9 MB, free: 5.422 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.556/2.556, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004433, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8043, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001608/0.806, allocations: 1.161 MB / 0.9546 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009239/0.8069, allocations: 0.6192 MB / 0.9552 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.807, allocations: 1.531 kB / 0.9552 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.111e-05/0.807, allocations: 0 / 0.9552 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.703e-05/0.8071, allocations: 15 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007931/0.8079, allocations: 285.8 kB / 0.9555 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.8081, allocations: 90.86 kB / 0.9556 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.8082, allocations: 16.16 kB / 0.9556 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/0.8083, allocations: 60.48 kB / 0.9557 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.8083, allocations: 53.66 kB / 0.9557 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.8084, allocations: 7.188 kB / 0.9558 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.8087, allocations: 212 kB / 0.956 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.8087, allocations: 30.34 kB / 0.956 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.8088, allocations: 44.23 kB / 0.956 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.8091, allocations: 210.5 kB / 0.9562 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.8091, allocations: 0.8125 kB / 0.9562 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8091, allocations: 0 / 0.9562 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.8091, allocations: 0 / 0.9562 GB, free: 6.105 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.0005119/0.8096, allocations: 446.7 kB / 0.9567 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.8097, allocations: 10.06 kB / 0.9567 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.8097, allocations: 21.92 kB / 0.9567 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.8099, allocations: 207.8 kB / 0.9569 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.8099, allocations: 4.219 kB / 0.9569 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.81, allocations: 12.34 kB / 0.9569 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.8101, allocations: 95.98 kB / 0.957 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.8102, allocations: 8 kB / 0.957 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.8102, allocations: 4 kB / 0.957 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.8102, allocations: 2.531 kB / 0.957 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.267e-05/0.8103, allocations: 48.48 kB / 0.957 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.8105, allocations: 247.7 kB / 0.9573 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.8106, allocations: 112.3 kB / 0.9574 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.8107, allocations: 1.156 kB / 0.9574 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.8109, allocations: 134.4 kB / 0.9575 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.8109, allocations: 0 / 0.9575 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21): time 0.0004373/0.8113, allocations: 457.8 kB / 0.958 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.8114, allocations: 113.8 kB / 0.9581 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.8115, allocations: 147 kB / 0.9582 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.8115, allocations: 38.48 kB / 0.9582 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.8116, allocations: 97.38 kB / 0.9583 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.8116, allocations: 59.25 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-06/0.8117, allocations: 1.5 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.8117, allocations: 330.5 kB / 0.9587 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.8118, allocations: 53.59 kB / 0.9588 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.812, allocations: 172.4 kB / 0.9589 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.8121, allocations: 76.14 kB / 0.959 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8121, allocations: 0 / 0.959 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002732/0.8124, allocations: 200.1 kB / 0.9592 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.8124, allocations: 4.906 kB / 0.9592 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.8125, allocations: 4 kB / 0.9592 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.8125, allocations: 5.984 kB / 0.9592 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.8126, allocations: 13.39 kB / 0.9592 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.8126, allocations: 1.938 kB / 0.9592 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.8128, allocations: 57.58 kB / 0.9593 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.8128, allocations: 14.17 kB / 0.9593 GB, free: 3.277 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.0001064/0.813, allocations: 137.6 kB / 0.9594 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.813, allocations: 12.97 kB / 0.9594 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.813, allocations: 19.31 kB / 0.9594 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.813, allocations: 2.969 kB / 0.9594 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.813, allocations: 1.438 kB / 0.9594 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.8131, allocations: 0 / 0.9594 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.8132, allocations: 205.5 kB / 0.9596 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8132, allocations: 1.281 kB / 0.9596 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.8133, allocations: 12.31 kB / 0.9597 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8133, allocations: 1.375 kB / 0.9597 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.8133, allocations: 6.422 kB / 0.9597 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8133, allocations: 2.406 kB / 0.9597 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8133, allocations: 0 / 0.9597 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.8136, allocations: 242.9 kB / 0.9599 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.8136, allocations: 94.44 kB / 0.96 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.8137, allocations: 5.375 kB / 0.96 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.75e-05/0.8137, allocations: 9.5 kB / 0.96 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.8138, allocations: 16 kB / 0.96 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.8138, allocations: 8.125 kB / 0.96 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.818e-05/0.8139, allocations: 108 kB / 0.9601 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8139, allocations: 0 / 0.9601 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003679/0.8143, allocations: 106.3 kB / 0.9602 GB, free: 2.453 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.0003086/0.8146, allocations: 197.2 kB / 0.9604 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003248/0.8149, allocations: 222.3 kB / 0.9606 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.8149, allocations: 0 / 0.9606 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.53e-05/0.815, allocations: 60.8 kB / 0.9607 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.8151, allocations: 3.281 kB / 0.9607 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.8156, allocations: 269.9 kB / 0.961 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.8158, allocations: 0.7181 MB / 0.9617 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.619e-05/0.8158, allocations: 13.06 kB / 0.9617 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.8158, allocations: 13.41 kB / 0.9617 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8158, allocations: 0 / 0.9617 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of Templates: time 0.005912/0.8218, allocations: 2.873 MB / 0.9645 GB, free: 15.73 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","../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches