Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 78.17 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 160 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.821/2.821, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 67.89 kB / 0.9819 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9378/0.94, allocations: 176.1 MB / 1.154 GB, free: 33.38 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002766/0.9427, allocations: 1.486 MB / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.9438, allocations: 0.6255 MB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.9439, allocations: 6.688 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 8.886e-05/0.944, allocations: 7.594 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.831e-05/0.944, allocations: 13.73 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.9451, allocations: 364.4 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.9454, allocations: 168.2 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.908e-05/0.9455, allocations: 6.781 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/0.9456, allocations: 65 kB / 1.157 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.9457, allocations: 61.66 kB / 1.157 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.9457, allocations: 11.12 kB / 1.157 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004416/0.9461, allocations: 276.1 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.014e-05/0.9462, allocations: 44.19 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.066e-05/0.9463, allocations: 46.39 kB / 1.157 GB, free: 31.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.9467, allocations: 296.6 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9467, allocations: 3.281 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9467, allocations: 0 / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.9467, allocations: 3.938 kB / 1.157 GB, free: 31.43 MB / 1.076 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.000632/0.9474, allocations: 404.2 kB / 1.158 GB, free: 31.08 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9474, allocations: 10.31 kB / 1.158 GB, free: 31.08 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.9475, allocations: 14.28 kB / 1.158 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.9477, allocations: 153.4 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.9477, allocations: 10.25 kB / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.9477, allocations: 8.5 kB / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.9479, allocations: 102.1 kB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9479, allocations: 192 / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.9479, allocations: 11.88 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.9479, allocations: 2.562 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.65e-05/0.948, allocations: 50.8 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.9482, allocations: 168.7 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.9483, allocations: 102.2 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/0.9484, allocations: 66.77 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.9484, allocations: 6.469 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.9486, allocations: 131.3 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.9486, allocations: 0 / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.0003721/0.949, allocations: 219.6 kB / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.949, allocations: 111.1 kB / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.9491, allocations: 151.2 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.9492, allocations: 38.61 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.9492, allocations: 94.23 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.784e-05/0.9493, allocations: 62.3 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.9493, allocations: 58.06 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.9494, allocations: 331.3 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.696e-05/0.9495, allocations: 48.25 kB / 1.16 GB, free: 29.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.9497, allocations: 466.2 kB / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.9499, allocations: 124.3 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9499, allocations: 0 / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002457/0.9501, allocations: 202.9 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.9501, allocations: 10.19 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.9502, allocations: 17.19 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9502, allocations: 0 / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.281e-05/0.9503, allocations: 18.67 kB / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.9503, allocations: 2.844 kB / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.9505, allocations: 49.39 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.9505, allocations: 5.719 kB / 1.16 GB, free: 28.86 MB / 1.076 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.0001096/0.9506, allocations: 146.6 kB / 1.16 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.9506, allocations: 13.89 kB / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.9507, allocations: 15.17 kB / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.9507, allocations: 3.25 kB / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.9507, allocations: 0 / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9507, allocations: 0 / 1.161 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.9508, allocations: 134.1 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9508, allocations: 0 / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.9508, allocations: 11.86 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.9508, allocations: 6.438 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.9509, allocations: 7.156 kB / 1.161 GB, free: 28.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9509, allocations: 4 kB / 1.161 GB, free: 28.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9509, allocations: 3.938 kB / 1.161 GB, free: 28.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.9511, allocations: 214.4 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.9511, allocations: 21.39 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.9512, allocations: 8 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.875e-05/0.9512, allocations: 5.875 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.9513, allocations: 17.56 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.9513, allocations: 5.594 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.9513, allocations: 108.4 kB / 1.161 GB, free: 28.31 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9513, allocations: 0 / 1.161 GB, free: 28.31 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003624/0.9517, allocations: 101.2 kB / 1.161 GB, free: 28.29 MB / 1.076 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.0002687/0.9519, allocations: 206.8 kB / 1.161 GB, free: 28.17 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.9522, allocations: 210 kB / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9522, allocations: 0 / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.159e-05/0.9523, allocations: 51.28 kB / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.9525, allocations: 8.875 kB / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.9529, allocations: 253.8 kB / 1.162 GB, free: 27.83 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.264e-05/0.953, allocations: 103.4 kB / 1.162 GB, free: 27.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.533e-05/0.9531, allocations: 12.86 kB / 1.162 GB, free: 27.74 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.9531, allocations: 18.09 kB / 1.162 GB, free: 27.73 MB / 1.076 GB Notification: Performance of SimCode: time 3.9e-07/0.9531, allocations: 0 / 1.162 GB, free: 27.73 MB / 1.076 GB Notification: Performance of Templates: time 0.00883/0.9619, allocations: 3.227 MB / 1.165 GB, free: 27.33 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.192706683999859]