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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001831/0.001831, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.854/2.854, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 55.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275/1.277, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003497/1.28, allocations: 1.481 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001437/1.282, allocations: 0.6929 MB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.938e-05/1.282, allocations: 0 / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.94e-05/1.282, allocations: 11.92 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.592e-05/1.282, allocations: 15.84 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/1.284, allocations: 346.8 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/1.284, allocations: 179.6 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.977e-05/1.284, allocations: 11.98 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/1.284, allocations: 63.89 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/1.284, allocations: 51.75 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/1.284, allocations: 12 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/1.285, allocations: 251.7 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.156e-05/1.285, allocations: 31.91 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/1.285, allocations: 67.7 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006039/1.286, allocations: 307.2 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.286, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.064e-06/1.286, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.116e-05/1.286, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 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.0008347/1.286, allocations: 472.8 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.287, allocations: 8.031 kB / 1.212 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/1.287, allocations: 12.84 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/1.287, allocations: 216 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/1.287, allocations: 8.375 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/1.287, allocations: 16.36 kB / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/1.287, allocations: 92.8 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/1.287, allocations: 192 / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/1.287, allocations: 7.938 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.287, allocations: 0 / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/1.287, allocations: 47.91 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/1.288, allocations: 243.4 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/1.288, allocations: 111.9 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/1.288, allocations: 70.66 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/1.288, allocations: 4 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/1.288, allocations: 153.6 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/1.288, allocations: 0 / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.0004462/1.289, allocations: 209.6 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/1.289, allocations: 122.7 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/1.289, allocations: 143.6 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/1.289, allocations: 41.7 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/1.289, allocations: 96.69 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.916e-05/1.289, allocations: 55.3 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/1.289, allocations: 61.69 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.289, allocations: 326.8 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/1.29, allocations: 48.25 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.29, allocations: 176.5 kB / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/1.29, allocations: 138.5 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.29, allocations: 0 / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003334/1.29, allocations: 209.3 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.29, allocations: 4 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/1.29, allocations: 4 kB / 1.215 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.29, allocations: 7.938 kB / 1.215 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/1.291, allocations: 11.94 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.291, allocations: 4 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/1.291, allocations: 47.78 kB / 1.215 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/1.291, allocations: 12 kB / 1.215 GB, free: 6.648 MB / 0.9356 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.0001664/1.291, allocations: 136 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/1.291, allocations: 19.75 kB / 1.215 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/1.291, allocations: 16.7 kB / 1.215 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.291, allocations: 4 kB / 1.215 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.291, allocations: 0 / 1.215 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.291, allocations: 0 / 1.215 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/1.291, allocations: 209.5 kB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.291, allocations: 0 / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/1.291, allocations: 8 kB / 1.215 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/1.291, allocations: 0 / 1.215 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/1.291, allocations: 8 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.291, allocations: 0.9375 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.291, allocations: 0 / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/1.292, allocations: 225 kB / 1.215 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/1.292, allocations: 92.86 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/1.292, allocations: 4 kB / 1.216 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/1.292, allocations: 15.92 kB / 1.216 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/1.292, allocations: 11.98 kB / 1.216 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/1.292, allocations: 4 kB / 1.216 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.812e-05/1.292, allocations: 105 kB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.292, allocations: 0 / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004231/1.293, allocations: 103.9 kB / 1.216 GB, free: 5.602 MB / 0.9356 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.000383/1.293, allocations: 195.1 kB / 1.216 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003763/1.293, allocations: 228.9 kB / 1.216 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.293, allocations: 0 / 1.216 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/1.293, allocations: 60.08 kB / 1.216 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/1.294, allocations: 8 kB / 1.216 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/1.294, allocations: 278.4 kB / 1.216 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/1.295, allocations: 0.7162 MB / 1.217 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/1.295, allocations: 15.44 kB / 1.217 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of SimCode: time 1.339e-05/1.295, allocations: 0 / 1.217 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of Templates: time 0.006446/1.301, allocations: 3.128 MB / 1.22 GB, free: 0.918 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,occSchDay.occupied,occSchDay1.occupied,occSchDay2.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc Variables in the result:occSchDay.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.occupied,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.occupied,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc,time