Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00888/0.00888, allocations: 101.7 kB / 15.73 MB, free: 6.07 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.001463/0.001463, allocations: 196.5 kB / 16.68 MB, free: 5.977 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 63.91 kB / 1.018 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365/1.366, allocations: 151.6 MB / 1.167 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.004472/1.371, allocations: 1.482 MB / 1.168 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001425/1.372, allocations: 0.6928 MB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/1.372, allocations: 0 / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.862e-05/1.373, allocations: 11.92 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.444e-05/1.373, allocations: 15.86 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/1.374, allocations: 339.9 kB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/1.374, allocations: 175.7 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.05e-05/1.374, allocations: 11.92 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/1.374, allocations: 63.89 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/1.374, allocations: 59.75 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/1.374, allocations: 12 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/1.375, allocations: 251.7 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/1.375, allocations: 31.91 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/1.375, allocations: 67.7 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004714/1.376, allocations: 300.1 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.376, allocations: 0 / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.827e-06/1.376, allocations: 0 / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.858e-06/1.376, allocations: 0 / 1.17 GB, free: 0.5117 MB / 0.8887 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.000871/1.377, allocations: 486.5 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/1.377, allocations: 12.92 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/1.377, allocations: 8.891 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/1.377, allocations: 212.1 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/1.377, allocations: 16.36 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/1.377, allocations: 8.375 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/1.377, allocations: 92.8 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.377, allocations: 4.188 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/1.377, allocations: 11.94 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.377, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/1.377, allocations: 43.91 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/1.378, allocations: 247.4 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/1.378, allocations: 115.9 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/1.378, allocations: 74.66 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/1.378, allocations: 0 / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/1.378, allocations: 146.8 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 3.646e-06/1.378, allocations: 3.984 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.0004609/1.379, allocations: 213.7 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.379, allocations: 122.7 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/1.379, allocations: 140.3 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/1.379, allocations: 37.7 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/1.379, allocations: 104.6 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/1.379, allocations: 59.52 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/1.38, allocations: 65.69 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.38, allocations: 322.8 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.603e-05/1.38, allocations: 56.25 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/1.38, allocations: 176.4 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/1.38, allocations: 138.5 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.38, allocations: 0 / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002976/1.381, allocations: 205.3 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.381, allocations: 4 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/1.381, allocations: 4 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.381, allocations: 4 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/1.381, allocations: 11.94 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.381, allocations: 8 kB / 1.173 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/1.381, allocations: 54.3 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/1.381, allocations: 12 kB / 1.173 GB, free: 13.02 MB / 0.9044 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.0001591/1.381, allocations: 132 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/1.381, allocations: 15.84 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/1.381, allocations: 20.7 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.381, allocations: 4 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.381, allocations: 4 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.381, allocations: 0 / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/1.382, allocations: 209.5 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.382, allocations: 0 / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/1.382, allocations: 12 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.382, allocations: 0 / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/1.382, allocations: 4 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.382, allocations: 0 / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.382, allocations: 0 / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/1.382, allocations: 220.5 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/1.382, allocations: 96.89 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/1.382, allocations: 0 / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.211e-05/1.382, allocations: 15.92 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/1.382, allocations: 11.98 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/1.382, allocations: 4 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.158e-05/1.382, allocations: 109.8 kB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.382, allocations: 0 / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003972/1.383, allocations: 103.8 kB / 1.174 GB, free: 11.98 MB / 0.9044 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.0003578/1.383, allocations: 207.6 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003694/1.384, allocations: 221.1 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.384, allocations: 0 / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.38e-05/1.384, allocations: 59.89 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/1.384, allocations: 11.94 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/1.384, allocations: 252.4 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/1.385, allocations: 0.7045 MB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.601e-05/1.385, allocations: 12.88 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/1.385, allocations: 19.44 kB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.385, allocations: 0 / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.007048/1.392, allocations: 3.1 MB / 1.178 GB, free: 7.348 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches