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.001282/0.001282, allocations: 106 kB / 16.35 MB, free: 5.824 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.001232/0.001232, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.513/1.513, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.42/2.42, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 61.23 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4257, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003168/0.429, allocations: 1.489 MB / 0.9526 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.4302, allocations: 0.6967 MB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.4303, allocations: 0 / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.972e-05/0.4304, allocations: 7.922 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.4305, allocations: 11.88 kB / 0.9533 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.4317, allocations: 346.7 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.432, allocations: 175.6 kB / 0.9538 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.642e-05/0.4321, allocations: 4 kB / 0.9538 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.948e-05/0.4322, allocations: 67.88 kB / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.4323, allocations: 51.78 kB / 0.9539 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.4323, allocations: 8 kB / 0.9539 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.4328, allocations: 251.7 kB / 0.9541 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.4329, allocations: 47.89 kB / 0.9542 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.433, allocations: 55.72 kB / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.4335, allocations: 299.4 kB / 0.9545 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4335, allocations: 3.938 kB / 0.9545 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4335, allocations: 3.938 kB / 0.9545 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.4335, allocations: 0 / 0.9545 GB, free: 4.594 MB / 0.7325 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.0008048/0.4343, allocations: 478.9 kB / 0.955 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4344, allocations: 8.031 kB / 0.955 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.4345, allocations: 20.75 kB / 0.955 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.4348, allocations: 214.1 kB / 0.9552 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.4348, allocations: 8.375 kB / 0.9552 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.4348, allocations: 8.375 kB / 0.9552 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.435, allocations: 96.8 kB / 0.9553 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.435, allocations: 192 / 0.9553 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.4351, allocations: 3.938 kB / 0.9553 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.4351, allocations: 4 kB / 0.9553 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.4352, allocations: 55.89 kB / 0.9554 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.4355, allocations: 243.4 kB / 0.9556 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.4357, allocations: 115.8 kB / 0.9557 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.4359, allocations: 70.67 kB / 0.9558 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.4359, allocations: 4 kB / 0.9558 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.4362, allocations: 133.8 kB / 0.9559 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.213e-06/0.4362, allocations: 0 / 0.9559 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0004451/0.4366, allocations: 222.1 kB / 0.9561 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/0.4367, allocations: 118.8 kB / 0.9562 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4369, allocations: 139.7 kB / 0.9564 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.4369, allocations: 33.7 kB / 0.9564 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.437, allocations: 100.6 kB / 0.9565 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.4371, allocations: 55.25 kB / 0.9566 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.4372, allocations: 61.69 kB / 0.9566 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4374, allocations: 330.8 kB / 0.9569 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.4375, allocations: 56.2 kB / 0.957 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.4377, allocations: 176.5 kB / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.4379, allocations: 130.5 kB / 0.9573 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4379, allocations: 0 / 0.9573 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000315/0.4383, allocations: 205.2 kB / 0.9575 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4383, allocations: 8 kB / 0.9575 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.4383, allocations: 12 kB / 0.9575 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4384, allocations: 0 / 0.9575 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4385, allocations: 19.92 kB / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4385, allocations: 0 / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.4387, allocations: 47.8 kB / 0.9576 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.4388, allocations: 8 kB / 0.9576 GB, free: 1.129 MB / 0.7325 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.0001641/0.4389, allocations: 146 kB / 0.9577 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.439, allocations: 15.78 kB / 0.9577 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.439, allocations: 12.86 kB / 0.9577 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.439, allocations: 3.984 kB / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.557e-06/0.439, allocations: 4 kB / 0.9577 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.439, allocations: 3.984 kB / 0.9577 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.4392, allocations: 209.4 kB / 0.9579 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4393, allocations: 4 kB / 0.9579 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.4393, allocations: 11.98 kB / 0.958 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/0.4393, allocations: 4 kB / 0.958 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4393, allocations: 0 / 0.958 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4393, allocations: 4.234 kB / 0.958 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4394, allocations: 0 / 0.958 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.4397, allocations: 224.7 kB / 0.9582 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.4397, allocations: 85.02 kB / 0.9583 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.4398, allocations: 8 kB / 0.9583 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.293e-05/0.4398, allocations: 7.938 kB / 0.9583 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.4399, allocations: 11.98 kB / 0.9583 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.4399, allocations: 4 kB / 0.9583 GB, free: 288 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.519e-05/0.44, allocations: 109.8 kB / 0.9584 GB, free: 180 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.44, allocations: 0 / 0.9584 GB, free: 180 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003702/0.4404, allocations: 103.9 kB / 0.9585 GB, free: 76 kB / 0.7325 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.0003496/0.4407, allocations: 203.1 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.4411, allocations: 221 kB / 0.9589 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4411, allocations: 0 / 0.9589 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.4412, allocations: 55.92 kB / 0.9589 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.4414, allocations: 12.05 kB / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.442, allocations: 256.6 kB / 0.9592 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.4424, allocations: 0.7083 MB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.752e-05/0.4425, allocations: 12.88 kB / 0.9599 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.4425, allocations: 15.44 kB / 0.9599 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/0.4426, allocations: 0 / 0.9599 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.00727/0.4498, allocations: 3.081 MB / 0.9629 GB, free: 11.46 MB / 0.7481 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches