Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.002362/0.002362, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.00281/0.00281, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.674/1.674, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.421/3.421, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8774 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.163e-05, allocations: 5.469 kB / 0.8774 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.00291/0.002941, allocations: 1.506 MB / 0.8789 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.004245, allocations: 0.6586 MB / 0.8795 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.004289, allocations: 4 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.883e-05/0.004378, allocations: 7.922 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.004451, allocations: 15.86 kB / 0.8796 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.005501, allocations: 360.5 kB / 0.8799 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.005789, allocations: 178.4 kB / 0.8801 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.005827, allocations: 4 kB / 0.8801 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.005982, allocations: 95.84 kB / 0.8802 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.006085, allocations: 43.88 kB / 0.8802 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.006128, allocations: 12 kB / 0.8802 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005099/0.006638, allocations: 275.5 kB / 0.8805 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.006724, allocations: 37.64 kB / 0.8805 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.192e-05/0.006815, allocations: 47.89 kB / 0.8806 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.007369, allocations: 355.1 kB / 0.8809 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.007373, allocations: 0 / 0.8809 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.007374, allocations: 0 / 0.8809 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.00738, allocations: 0.625 kB / 0.8809 GB, free: 3.176 MB / 0.8386 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.0007782/0.008158, allocations: 0.5048 MB / 0.8814 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.008204, allocations: 12.02 kB / 0.8814 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.008282, allocations: 20.84 kB / 0.8814 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.008538, allocations: 156.4 kB / 0.8816 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.008557, allocations: 9.094 kB / 0.8816 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.00859, allocations: 12.36 kB / 0.8816 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.008788, allocations: 98.11 kB / 0.8817 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.008798, allocations: 192 / 0.8817 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.008815, allocations: 12.36 kB / 0.8817 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.008819, allocations: 384 / 0.8817 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.008927, allocations: 39.86 kB / 0.8817 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.009224, allocations: 192.1 kB / 0.8819 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.009559, allocations: 121.3 kB / 0.882 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.009678, allocations: 75.19 kB / 0.8821 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.009692, allocations: 0 / 0.8821 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.009958, allocations: 147.9 kB / 0.8822 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.163e-06/0.009959, allocations: 0 / 0.8822 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0004785/0.01044, allocations: 202.1 kB / 0.8824 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.01053, allocations: 110.8 kB / 0.8825 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.01073, allocations: 216.3 kB / 0.8828 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.01078, allocations: 33.7 kB / 0.8828 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.01089, allocations: 147.4 kB / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/0.01098, allocations: 67.55 kB / 0.883 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.0111, allocations: 67.36 kB / 0.8831 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002898/0.01139, allocations: 0.5079 MB / 0.8835 GB, free: 184 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.01149, allocations: 44.27 kB / 0.8836 GB, free: 136 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.01196, allocations: 474.8 kB / 0.884 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.0122, allocations: 135 kB / 0.8842 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.01221, allocations: 4 kB / 0.8842 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003473/0.01255, allocations: 205.3 kB / 0.8844 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.01257, allocations: 4 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.01259, allocations: 4 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.01262, allocations: 7.938 kB / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.01276, allocations: 31.92 kB / 0.8844 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.01277, allocations: 4 kB / 0.8844 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.01297, allocations: 35.86 kB / 0.8845 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.01299, allocations: 4 kB / 0.8845 GB, free: 15.1 MB / 0.8542 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.0001804/0.01318, allocations: 191.2 kB / 0.8846 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.01321, allocations: 19.91 kB / 0.8847 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.01325, allocations: 12.78 kB / 0.8847 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.01326, allocations: 7.938 kB / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01327, allocations: 0 / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01327, allocations: 0 / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.01346, allocations: 156.5 kB / 0.8848 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01346, allocations: 0 / 0.8848 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.01351, allocations: 15.92 kB / 0.8848 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.01352, allocations: 4 kB / 0.8848 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01353, allocations: 4 kB / 0.8849 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.01354, allocations: 4.234 kB / 0.8849 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01354, allocations: 3.938 kB / 0.8849 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.01389, allocations: 221.8 kB / 0.8851 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.01392, allocations: 11.91 kB / 0.8851 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.01395, allocations: 8 kB / 0.8851 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.01401, allocations: 7.984 kB / 0.8851 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.01407, allocations: 15.92 kB / 0.8851 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.01409, allocations: 8 kB / 0.8851 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001079/0.01419, allocations: 145.5 kB / 0.8853 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01419, allocations: 4 kB / 0.8853 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003983/0.01459, allocations: 107.7 kB / 0.8854 GB, free: 14.1 MB / 0.8542 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.0003972/0.01499, allocations: 207 kB / 0.8856 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003995/0.01539, allocations: 220.6 kB / 0.8858 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01539, allocations: 4 kB / 0.8858 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.0155, allocations: 55.61 kB / 0.8858 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.01569, allocations: 11.98 kB / 0.8858 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.01621, allocations: 245.7 kB / 0.8861 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.01632, allocations: 100.7 kB / 0.8862 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.724e-05/0.01637, allocations: 9.266 kB / 0.8862 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.01641, allocations: 16.5 kB / 0.8862 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of SimCode: time 4.61e-07/0.01641, allocations: 0 / 0.8862 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of Templates: time 0.008203/0.02461, allocations: 3.26 MB / 0.8894 GB, free: 9.957 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.760314772021957]