Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.OccupancySchedulePositiveStartTime,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_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,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_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001479/0.001479, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.618/1.618, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.527/2.527, allocations: 390.3 MB / 0.6653 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 62.8 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3639, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.004298/0.3683, allocations: 1.489 MB / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.3699, allocations: 0.6889 MB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.37, allocations: 0 / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.3702, allocations: 7.922 kB / 0.9524 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.3704, allocations: 19.84 kB / 0.9524 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.3719, allocations: 346.9 kB / 0.9527 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.3723, allocations: 163.7 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/0.3724, allocations: 7.984 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.3725, allocations: 63.91 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.3727, allocations: 59.69 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.006e-05/0.3728, allocations: 12 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005037/0.3733, allocations: 247.8 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.743e-05/0.3734, allocations: 39.89 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3735, allocations: 63.72 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006311/0.3742, allocations: 299.6 kB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3742, allocations: 0 / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3742, allocations: 0 / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.3742, allocations: 0 / 0.9537 GB, free: 5.406 MB / 0.7325 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.0009338/0.3752, allocations: 474.9 kB / 0.9541 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.3752, allocations: 12.03 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.3753, allocations: 16.73 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.3756, allocations: 214.3 kB / 0.9543 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3757, allocations: 16.36 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.3757, allocations: 8.375 kB / 0.9544 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.376, allocations: 92.8 kB / 0.9545 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.376, allocations: 192 / 0.9545 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.376, allocations: 7.938 kB / 0.9545 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.376, allocations: 0 / 0.9545 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.3762, allocations: 47.91 kB / 0.9545 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.3766, allocations: 251.4 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.3768, allocations: 103.8 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.3769, allocations: 78.7 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.3769, allocations: 0 / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/0.3773, allocations: 136 kB / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 1.293e-06/0.3773, allocations: 0 / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.0005494/0.3779, allocations: 222 kB / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.378, allocations: 130.7 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3782, allocations: 136 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.3783, allocations: 33.7 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3784, allocations: 104.7 kB / 0.9557 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.3785, allocations: 59.14 kB / 0.9557 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.3786, allocations: 57.69 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.3788, allocations: 326.8 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.3789, allocations: 56.25 kB / 0.9561 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.3792, allocations: 180.5 kB / 0.9563 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.3794, allocations: 134.4 kB / 0.9564 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3794, allocations: 4 kB / 0.9564 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004033/0.3798, allocations: 201.3 kB / 0.9566 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3798, allocations: 4 kB / 0.9566 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-05/0.3799, allocations: 8 kB / 0.9566 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.3799, allocations: 4 kB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3801, allocations: 15.92 kB / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3801, allocations: 4 kB / 0.9567 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.3803, allocations: 47.8 kB / 0.9567 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.3804, allocations: 8 kB / 0.9567 GB, free: 1.938 MB / 0.7325 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.000207/0.3806, allocations: 144.2 kB / 0.9568 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.3806, allocations: 15.83 kB / 0.9569 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.999e-05/0.3807, allocations: 12.72 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3807, allocations: 7.938 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3807, allocations: 0 / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3807, allocations: 0 / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.381, allocations: 217.4 kB / 0.9571 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.381, allocations: 0 / 0.9571 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.381, allocations: 16 kB / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3811, allocations: 0 / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3811, allocations: 7.984 kB / 0.9571 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3811, allocations: 0 / 0.9571 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3811, allocations: 0 / 0.9571 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.3814, allocations: 210.5 kB / 0.9573 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.3815, allocations: 89.02 kB / 0.9574 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.3816, allocations: 7.984 kB / 0.9574 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.3816, allocations: 7.938 kB / 0.9574 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.3817, allocations: 11.98 kB / 0.9574 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3817, allocations: 4 kB / 0.9574 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001089/0.3818, allocations: 109.6 kB / 0.9575 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.184e-06/0.3819, allocations: 0 / 0.9575 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004547/0.3823, allocations: 107.9 kB / 0.9576 GB, free: 0.8867 MB / 0.7325 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.0004584/0.3828, allocations: 205.9 kB / 0.9578 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.3832, allocations: 225 kB / 0.958 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3833, allocations: 0 / 0.958 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3834, allocations: 51.92 kB / 0.9581 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.3836, allocations: 11.94 kB / 0.9581 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/0.3842, allocations: 290.2 kB / 0.9584 GB, free: 56 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.3847, allocations: 0.7084 MB / 0.9591 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.3848, allocations: 15.44 kB / 0.9591 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.3848, allocations: 4 kB / 0.9591 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of Templates: time 0.007067/0.3919, allocations: 3.107 MB / 0.9621 GB, free: 12.21 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches