Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002278/0.002278, allocations: 220.5 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.49/3.49, allocations: 0.505 GB / 0.8108 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 66.98 kB / 1.178 GB, free: 16.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3699, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002927/0.3729, allocations: 1.519 MB / 1.356 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3741, allocations: 0.6773 MB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.3741, allocations: 4 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.584e-05/0.3742, allocations: 11.86 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.3743, allocations: 19.86 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.3754, allocations: 357.5 kB / 1.357 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.3757, allocations: 167.6 kB / 1.357 GB, free: 5.258 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.3757, allocations: 7.984 kB / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.626e-05/0.3758, allocations: 71.83 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3759, allocations: 51.81 kB / 1.357 GB, free: 5.129 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.376, allocations: 16 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004932/0.3765, allocations: 295.6 kB / 1.357 GB, free: 4.824 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.464e-05/0.3765, allocations: 35.91 kB / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.993e-05/0.3766, allocations: 59.72 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.3771, allocations: 311 kB / 1.358 GB, free: 4.426 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3771, allocations: 4 kB / 1.358 GB, free: 4.422 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3771, allocations: 0 / 1.358 GB, free: 4.422 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.3771, allocations: 0 / 1.358 GB, free: 4.422 MB / 1.045 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.0006846/0.3778, allocations: 401.4 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3778, allocations: 16.03 kB / 1.358 GB, free: 3.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.3779, allocations: 8.891 kB / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.3781, allocations: 162.2 kB / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3782, allocations: 4.375 kB / 1.358 GB, free: 3.785 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.3782, allocations: 12.38 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.3784, allocations: 92.8 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.3784, allocations: 192 / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.3784, allocations: 7.938 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3784, allocations: 4 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3785, allocations: 51.84 kB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.3788, allocations: 222.5 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.379, allocations: 99.83 kB / 1.359 GB, free: 3.215 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3791, allocations: 70.69 kB / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.3791, allocations: 0 / 1.359 GB, free: 3.137 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.3795, allocations: 138.9 kB / 1.359 GB, free: 2.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 1.133e-06/0.3795, allocations: 8 kB / 1.359 GB, free: 2.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.0004579/0.3799, allocations: 209.5 kB / 1.359 GB, free: 2.762 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.38, allocations: 122.7 kB / 1.359 GB, free: 2.617 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3801, allocations: 143.4 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.3802, allocations: 41.69 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.3803, allocations: 96.64 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.3804, allocations: 55.58 kB / 1.359 GB, free: 2.266 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.3804, allocations: 61.69 kB / 1.359 GB, free: 2.199 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3806, allocations: 334.8 kB / 1.36 GB, free: 1.863 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.3807, allocations: 48.27 kB / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.381, allocations: 172.5 kB / 1.36 GB, free: 1.602 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.3812, allocations: 138.5 kB / 1.36 GB, free: 1.457 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3812, allocations: 0 / 1.36 GB, free: 1.457 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000328/0.3815, allocations: 201.4 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3815, allocations: 4 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.3815, allocations: 4 kB / 1.36 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3815, allocations: 4 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3817, allocations: 19.92 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.3817, allocations: 4 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.3819, allocations: 47.84 kB / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3819, allocations: 8 kB / 1.36 GB, free: 1.164 MB / 1.045 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.0001431/0.3821, allocations: 148.3 kB / 1.361 GB, free: 1.008 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.3821, allocations: 19.84 kB / 1.361 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.3821, allocations: 12.72 kB / 1.361 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3821, allocations: 4 kB / 1.361 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3821, allocations: 0 / 1.361 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3821, allocations: 0 / 1.361 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3823, allocations: 188.5 kB / 1.361 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3823, allocations: 0 / 1.361 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/0.3824, allocations: 11.98 kB / 1.361 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3824, allocations: 0 / 1.361 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3824, allocations: 4 kB / 1.361 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3824, allocations: 0 / 1.361 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3824, allocations: 0 / 1.361 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.3827, allocations: 218.5 kB / 1.361 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.3828, allocations: 19.83 kB / 1.361 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.3828, allocations: 11.94 kB / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.3828, allocations: 7.938 kB / 1.361 GB, free: 464 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.3829, allocations: 12.12 kB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3829, allocations: 7.984 kB / 1.361 GB, free: 444 kB / 1.045 GB Notification: Performance of sorting global known variables: time 8.278e-05/0.383, allocations: 109.1 kB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.383, allocations: 0 / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003963/0.3834, allocations: 103.8 kB / 1.361 GB, free: 232 kB / 1.045 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.0003226/0.3837, allocations: 204 kB / 1.361 GB, free: 20 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003882/0.3841, allocations: 215 kB / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3841, allocations: 0 / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.176e-05/0.3842, allocations: 51.92 kB / 1.362 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.3844, allocations: 12.09 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.3849, allocations: 275.3 kB / 1.362 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.3853, allocations: 0.7083 MB / 1.363 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.3853, allocations: 19.44 kB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.3853, allocations: 0 / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of Templates: time 0.005905/0.3912, allocations: 3.115 MB / 1.366 GB, free: 11.57 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.261949758016272]