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.001876/0.001876, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.002199/0.002199, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.531/1.531, allocations: 222.9 MB / 241 MB, free: 15.15 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.976/2.976, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 59.89 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273/1.275, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003707/1.279, allocations: 1.49 MB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0014/1.281, allocations: 0.689 MB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/1.281, allocations: 0 / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/1.281, allocations: 15.86 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.584e-05/1.281, allocations: 15.86 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/1.282, allocations: 343.3 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003537/1.283, allocations: 175.6 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.653e-05/1.283, allocations: 4 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/1.283, allocations: 67.88 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/1.283, allocations: 55.77 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/1.283, allocations: 11.94 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/1.284, allocations: 247.8 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/1.284, allocations: 43.89 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/1.284, allocations: 55.72 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000676/1.285, allocations: 307.1 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/1.285, allocations: 0 / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.733e-06/1.285, allocations: 0 / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.085e-05/1.285, allocations: 0 / 1.171 GB, free: 376 kB / 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.0008903/1.286, allocations: 480.8 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/1.286, allocations: 8.922 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.774e-05/1.286, allocations: 12.84 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/1.286, allocations: 212.1 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/1.286, allocations: 8.375 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/1.286, allocations: 12.31 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/1.286, allocations: 107.4 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.286, allocations: 192 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/1.286, allocations: 3.938 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.286, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/1.286, allocations: 51.91 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/1.287, allocations: 239.4 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/1.287, allocations: 115.8 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/1.287, allocations: 70.67 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/1.287, allocations: 3.984 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/1.287, allocations: 150.8 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 1.834e-06/1.287, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.000457/1.288, allocations: 210.2 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/1.288, allocations: 110.8 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.288, allocations: 145.7 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/1.288, allocations: 37.64 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/1.288, allocations: 100.7 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/1.288, allocations: 59.28 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/1.288, allocations: 61.69 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.289, allocations: 326.8 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.986e-05/1.289, allocations: 52.25 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/1.289, allocations: 180.4 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/1.289, allocations: 134.5 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.289, allocations: 0 / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003231/1.289, allocations: 205.4 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.29, allocations: 8 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/1.29, allocations: 12 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.29, allocations: 0 / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/1.29, allocations: 16 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.29, allocations: 15.86 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/1.29, allocations: 43.8 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/1.29, allocations: 11.98 kB / 1.174 GB, free: 12.89 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.0001531/1.29, allocations: 132.1 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/1.29, allocations: 19.75 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/1.29, allocations: 16.7 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.29, allocations: 4 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.29, allocations: 0 / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/1.29, allocations: 85.02 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/1.29, allocations: 8 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/1.29, allocations: 3.984 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/1.29, allocations: 20.02 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004033/1.291, allocations: 411.4 kB / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004185/1.291, allocations: 0.4949 MB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001/1.291, allocations: 55.91 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.556e-05/1.291, allocations: 101.8 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of Backend: time 7.51e-07/1.292, allocations: 3.938 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001008/1.293, allocations: 351.3 kB / 1.175 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006749/1.293, allocations: 0.6475 MB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of Templates: time 0.007608/1.301, allocations: 3.207 MB / 1.179 GB, free: 7.266 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches