Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.22/3.22, allocations: 496.2 MB / 0.7819 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 63.89 kB / 1.136 GB, free: 12.51 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408/1.411, allocations: 173.6 MB / 1.305 GB, free: 33.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002786/1.413, allocations: 1.501 MB / 1.307 GB, free: 32.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001075/1.414, allocations: 0.7016 MB / 1.308 GB, free: 32.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/1.415, allocations: 7 kB / 1.308 GB, free: 32.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.225e-05/1.415, allocations: 11.11 kB / 1.308 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/1.415, allocations: 17.75 kB / 1.308 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/1.416, allocations: 345.2 kB / 1.308 GB, free: 31.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/1.416, allocations: 165.4 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.541e-05/1.416, allocations: 8.906 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/1.416, allocations: 67.02 kB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/1.416, allocations: 53.33 kB / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/1.416, allocations: 11.66 kB / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/1.417, allocations: 256.9 kB / 1.308 GB, free: 31.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.971e-05/1.417, allocations: 37.2 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.422e-05/1.417, allocations: 67.06 kB / 1.309 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004613/1.417, allocations: 303.1 kB / 1.309 GB, free: 31.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.417, allocations: 0 / 1.309 GB, free: 31.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.725e-06/1.417, allocations: 0 / 1.309 GB, free: 31.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.035e-05/1.417, allocations: 2.875 kB / 1.309 GB, free: 31.62 MB / 1.061 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.0007201/1.418, allocations: 485 kB / 1.309 GB, free: 31.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/1.418, allocations: 8.688 kB / 1.309 GB, free: 31.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/1.418, allocations: 14.52 kB / 1.309 GB, free: 31.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/1.418, allocations: 207.6 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/1.418, allocations: 9.125 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/1.418, allocations: 10.53 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/1.419, allocations: 101.2 kB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.419, allocations: 4.188 kB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/1.419, allocations: 7.875 kB / 1.31 GB, free: 30.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/1.419, allocations: 5.953 kB / 1.31 GB, free: 30.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.823e-05/1.419, allocations: 45.47 kB / 1.31 GB, free: 30.86 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/1.419, allocations: 249.6 kB / 1.31 GB, free: 30.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/1.419, allocations: 101.4 kB / 1.31 GB, free: 30.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/1.419, allocations: 70.41 kB / 1.31 GB, free: 30.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/1.419, allocations: 2.875 kB / 1.31 GB, free: 30.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/1.42, allocations: 141.2 kB / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/1.42, allocations: 0 / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0003925/1.42, allocations: 208.6 kB / 1.31 GB, free: 30.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/1.42, allocations: 120.2 kB / 1.311 GB, free: 30.17 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/1.42, allocations: 140.8 kB / 1.311 GB, free: 30.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/1.42, allocations: 35.2 kB / 1.311 GB, free: 30.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/1.42, allocations: 95.52 kB / 1.311 GB, free: 29.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/1.42, allocations: 66.36 kB / 1.311 GB, free: 29.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/1.42, allocations: 63.78 kB / 1.311 GB, free: 29.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.799e-05/1.42, allocations: 330.8 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/1.421, allocations: 52.27 kB / 1.311 GB, free: 29.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/1.421, allocations: 182.8 kB / 1.311 GB, free: 29.35 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/1.421, allocations: 130.1 kB / 1.312 GB, free: 29.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.421, allocations: 3.938 kB / 1.312 GB, free: 29.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002469/1.421, allocations: 200.5 kB / 1.312 GB, free: 29.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.421, allocations: 5.844 kB / 1.312 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.421, allocations: 2.844 kB / 1.312 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.421, allocations: 6.109 kB / 1.312 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/1.421, allocations: 15.41 kB / 1.312 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.421, allocations: 4 kB / 1.312 GB, free: 29.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/1.422, allocations: 48.8 kB / 1.312 GB, free: 29.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/1.422, allocations: 5.75 kB / 1.312 GB, free: 29.16 MB / 1.061 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.000101/1.422, allocations: 142 kB / 1.312 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/1.422, allocations: 21.53 kB / 1.312 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/1.422, allocations: 11.66 kB / 1.312 GB, free: 29.01 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/1.422, allocations: 0 / 1.312 GB, free: 29.01 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.422, allocations: 6.969 kB / 1.312 GB, free: 29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.422, allocations: 3.422 kB / 1.312 GB, free: 29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/1.422, allocations: 206.8 kB / 1.312 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.422, allocations: 0 / 1.312 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/1.422, allocations: 12.72 kB / 1.312 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.422, allocations: 6.375 kB / 1.312 GB, free: 28.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.422, allocations: 6.562 kB / 1.312 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.422, allocations: 0 / 1.312 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.422, allocations: 0 / 1.312 GB, free: 28.78 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/1.422, allocations: 215.1 kB / 1.312 GB, free: 28.65 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/1.422, allocations: 94.86 kB / 1.313 GB, free: 28.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/1.422, allocations: 10.06 kB / 1.313 GB, free: 28.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.842e-05/1.422, allocations: 6.812 kB / 1.313 GB, free: 28.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/1.422, allocations: 12.72 kB / 1.313 GB, free: 28.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/1.422, allocations: 2.984 kB / 1.313 GB, free: 28.53 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.155e-05/1.422, allocations: 115.9 kB / 1.313 GB, free: 28.44 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.422, allocations: 0 / 1.313 GB, free: 28.44 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003844/1.423, allocations: 102.4 kB / 1.313 GB, free: 28.42 MB / 1.061 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.0002746/1.423, allocations: 201.5 kB / 1.313 GB, free: 28.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002823/1.423, allocations: 204.6 kB / 1.313 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.423, allocations: 3.938 kB / 1.313 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/1.423, allocations: 50.84 kB / 1.313 GB, free: 28.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/1.424, allocations: 13.55 kB / 1.313 GB, free: 28.15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004318/1.424, allocations: 267.8 kB / 1.314 GB, free: 27.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/1.424, allocations: 0.7043 MB / 1.314 GB, free: 27.26 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.4e-05/1.424, allocations: 12.97 kB / 1.314 GB, free: 27.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/1.424, allocations: 13.16 kB / 1.314 GB, free: 27.25 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/1.424, allocations: 2.844 kB / 1.314 GB, free: 27.25 MB / 1.061 GB Notification: Performance of Templates: time 0.00654/1.431, allocations: 3.126 MB / 1.317 GB, free: 26.95 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.864494395442307]