Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.002038/0.002038, allocations: 115.5 kB / 16.81 MB, free: 5.867 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.002191/0.002191, allocations: 192.7 kB / 17.76 MB, free: 5.02 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.749/1.749, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3/3, allocations: 476.7 MB / 0.7556 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 66.12 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4239, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002842/0.4267, allocations: 1.481 MB / 1.263 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.4279, allocations: 0.6929 MB / 1.264 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.428, allocations: 0 / 1.264 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.423e-05/0.4281, allocations: 11.86 kB / 1.264 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.295e-05/0.4281, allocations: 19.86 kB / 1.264 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.4291, allocations: 353.4 kB / 1.265 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.4294, allocations: 167.7 kB / 1.265 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.4294, allocations: 0 / 1.265 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.4295, allocations: 75.81 kB / 1.265 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.725e-05/0.4296, allocations: 51.77 kB / 1.265 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.4296, allocations: 12 kB / 1.265 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.43, allocations: 263.7 kB / 1.265 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.4301, allocations: 39.89 kB / 1.265 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.136e-05/0.4302, allocations: 59.72 kB / 1.265 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.4306, allocations: 303.1 kB / 1.265 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4306, allocations: 0 / 1.265 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4306, allocations: 0 / 1.265 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.537e-06/0.4306, allocations: 0 / 1.265 GB, free: 9.453 MB / 0.9825 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.0007151/0.4314, allocations: 478.5 kB / 1.266 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4314, allocations: 12.03 kB / 1.266 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.4314, allocations: 8.891 kB / 1.266 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.4317, allocations: 220.1 kB / 1.266 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.4317, allocations: 8.375 kB / 1.266 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.4318, allocations: 12.36 kB / 1.266 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.432, allocations: 92.8 kB / 1.266 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.432, allocations: 4.125 kB / 1.266 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.432, allocations: 11.94 kB / 1.266 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.432, allocations: 7.938 kB / 1.266 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.913e-05/0.4321, allocations: 43.97 kB / 1.266 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.4324, allocations: 244.4 kB / 1.267 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.4326, allocations: 103.9 kB / 1.267 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.4327, allocations: 70.64 kB / 1.267 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.4327, allocations: 3.938 kB / 1.267 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.4329, allocations: 137.8 kB / 1.267 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.4329, allocations: 0 / 1.267 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0004541/0.4334, allocations: 226.1 kB / 1.267 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.113e-05/0.4335, allocations: 114.8 kB / 1.267 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.4336, allocations: 143.8 kB / 1.267 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.4337, allocations: 37.7 kB / 1.267 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.4338, allocations: 100.7 kB / 1.267 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.4338, allocations: 55.59 kB / 1.267 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.4339, allocations: 57.69 kB / 1.268 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4341, allocations: 330.8 kB / 1.268 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.4342, allocations: 52.25 kB / 1.268 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.4344, allocations: 171.8 kB / 1.268 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.4346, allocations: 146.4 kB / 1.268 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4346, allocations: 0 / 1.268 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003136/0.4349, allocations: 201.4 kB / 1.268 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4349, allocations: 4 kB / 1.268 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.4349, allocations: 4 kB / 1.268 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.435, allocations: 4 kB / 1.268 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.4351, allocations: 11.94 kB / 1.268 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.4351, allocations: 7.938 kB / 1.268 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.4353, allocations: 51.83 kB / 1.268 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.4353, allocations: 12 kB / 1.268 GB, free: 5.992 MB / 0.9825 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.0001407/0.4355, allocations: 132 kB / 1.269 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.4355, allocations: 19.84 kB / 1.269 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.4355, allocations: 16.7 kB / 1.269 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4355, allocations: 0 / 1.269 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4355, allocations: 4 kB / 1.269 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.4356, allocations: 92.95 kB / 1.269 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.4356, allocations: 4 kB / 1.269 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.4357, allocations: 11.98 kB / 1.269 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.4357, allocations: 11.92 kB / 1.269 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004113/0.4361, allocations: 407.4 kB / 1.269 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004186/0.4366, allocations: 0.4959 MB / 1.27 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.482e-05/0.4367, allocations: 48.23 kB / 1.27 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.438e-05/0.4367, allocations: 104.4 kB / 1.27 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of Backend: time 2.61e-07/0.4367, allocations: 3.938 kB / 1.27 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009499/0.4377, allocations: 344.5 kB / 1.27 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006469/0.4383, allocations: 0.655 MB / 1.271 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of Templates: time 0.007056/0.4454, allocations: 3.234 MB / 1.274 GB, free: 344 kB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches