Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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: 80.92 kB / 19.18 MB, free: 2.516 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.002991/0.002991, allocations: 159.4 kB / 22.46 MB, free: 5.375 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.579/1.579, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.745/2.745, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.182e-05/5.439e-05, allocations: 4.672 kB / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.004122/0.004176, allocations: 1.482 MB / 0.9524 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.005685, allocations: 0.6542 MB / 0.953 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.005736, allocations: 0 / 0.953 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.005838, allocations: 15.86 kB / 0.953 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.005919, allocations: 11.88 kB / 0.953 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.007069, allocations: 362.4 kB / 0.9534 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.00742, allocations: 175.6 kB / 0.9536 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.007471, allocations: 8 kB / 0.9536 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.007621, allocations: 91.86 kB / 0.9537 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/0.007715, allocations: 43.88 kB / 0.9537 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.007756, allocations: 16 kB / 0.9537 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004756/0.008232, allocations: 279.6 kB / 0.954 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.008329, allocations: 31.91 kB / 0.954 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.905e-05/0.008418, allocations: 39.91 kB / 0.954 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.008974, allocations: 363.1 kB / 0.9544 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.008978, allocations: 3.938 kB / 0.9544 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.008979, allocations: 0 / 0.9544 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.008985, allocations: 0 / 0.9544 GB, free: 8.035 MB / 0.8575 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.0007527/0.009738, allocations: 405.3 kB / 0.9548 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.009778, allocations: 16.03 kB / 0.9548 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.00984, allocations: 12.84 kB / 0.9548 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.01009, allocations: 153.6 kB / 0.955 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.01012, allocations: 8.375 kB / 0.955 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.01015, allocations: 8.375 kB / 0.955 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.01035, allocations: 100.7 kB / 0.9551 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.01036, allocations: 192 / 0.9551 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.01037, allocations: 384 / 0.9551 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.01037, allocations: 384 / 0.9551 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.01048, allocations: 55.84 kB / 0.9551 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.01075, allocations: 167.1 kB / 0.9553 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.01091, allocations: 107.8 kB / 0.9554 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.01103, allocations: 66.7 kB / 0.9554 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.01104, allocations: 0 / 0.9554 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.01127, allocations: 137.8 kB / 0.9556 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.062e-06/0.01127, allocations: 0 / 0.9556 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0004935/0.01177, allocations: 218.3 kB / 0.9558 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.01189, allocations: 122.7 kB / 0.9559 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.01203, allocations: 139.5 kB / 0.956 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/0.01211, allocations: 45.69 kB / 0.9561 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.0122, allocations: 96.64 kB / 0.9562 GB, free: 6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.636e-05/0.01227, allocations: 59.56 kB / 0.9562 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.01238, allocations: 57.69 kB / 0.9563 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.01257, allocations: 330.8 kB / 0.9566 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.01267, allocations: 52.19 kB / 0.9567 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.01316, allocations: 471.1 kB / 0.9571 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.01339, allocations: 126.6 kB / 0.9572 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01339, allocations: 3.938 kB / 0.9572 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003603/0.01375, allocations: 205.3 kB / 0.9574 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01376, allocations: 4 kB / 0.9574 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.01379, allocations: 4 kB / 0.9574 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.01381, allocations: 11.94 kB / 0.9574 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.01391, allocations: 11.98 kB / 0.9575 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.01392, allocations: 4 kB / 0.9575 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.01416, allocations: 47.84 kB / 0.9575 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.01418, allocations: 8 kB / 0.9575 GB, free: 4.488 MB / 0.8575 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.0001546/0.01434, allocations: 136.4 kB / 0.9576 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.01437, allocations: 19.91 kB / 0.9577 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.0144, allocations: 12.78 kB / 0.9577 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.01441, allocations: 7.938 kB / 0.9577 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.01442, allocations: 4 kB / 0.9577 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.01442, allocations: 3.984 kB / 0.9577 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.01461, allocations: 133.3 kB / 0.9578 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01461, allocations: 0 / 0.9578 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.01465, allocations: 8 kB / 0.9578 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.01465, allocations: 3.938 kB / 0.9578 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.01467, allocations: 4 kB / 0.9578 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01467, allocations: 0 / 0.9578 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.01468, allocations: 7.938 kB / 0.9578 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.01502, allocations: 220.5 kB / 0.958 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.01504, allocations: 15.84 kB / 0.9581 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.01507, allocations: 8 kB / 0.9581 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.477e-05/0.01513, allocations: 7.984 kB / 0.9581 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.01518, allocations: 11.98 kB / 0.9581 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.01519, allocations: 7.938 kB / 0.9581 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.213e-05/0.01528, allocations: 105.3 kB / 0.9582 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01528, allocations: 0 / 0.9582 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003819/0.01567, allocations: 99.8 kB / 0.9583 GB, free: 3.625 MB / 0.8575 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.0004387/0.0161, allocations: 230.8 kB / 0.9585 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.0165, allocations: 208.9 kB / 0.9587 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01651, allocations: 0 / 0.9587 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.01661, allocations: 51.91 kB / 0.9588 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.01679, allocations: 8 kB / 0.9588 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.01732, allocations: 239.9 kB / 0.959 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.01743, allocations: 104.7 kB / 0.9591 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.297e-05/0.01747, allocations: 12.98 kB / 0.9591 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.01751, allocations: 16.5 kB / 0.9591 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.01751, allocations: 0 / 0.9591 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of Templates: time 0.007848/0.02535, allocations: 3.224 MB / 0.9623 GB, free: 15.52 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.426354214549065]