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.001735/0.001735, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001685/0.001685, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9585/0.9585, allocations: 177.1 MB / 203.8 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] 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 2.087/2.087, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] 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.573e-06/1.573e-06, allocations: 0 / 0.8781 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.762e-05, allocations: 4.984 kB / 0.8781 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002147/0.002174, allocations: 1.535 MB / 0.8796 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009389/0.003113, allocations: 0.6557 MB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.003155, allocations: 1.031 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.087e-05/0.003226, allocations: 11.81 kB / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-05/0.003284, allocations: 20.97 kB / 0.8803 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.00398, allocations: 359.9 kB / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.004157, allocations: 171.6 kB / 0.8808 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.004195, allocations: 9.078 kB / 0.8808 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.636e-05/0.004282, allocations: 91.86 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.633e-05/0.004348, allocations: 40.61 kB / 0.881 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.00437, allocations: 12 kB / 0.881 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.004654, allocations: 285.1 kB / 0.8812 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.004707, allocations: 35.91 kB / 0.8813 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.004767, allocations: 43.91 kB / 0.8813 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.005095, allocations: 331.1 kB / 0.8816 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.005098, allocations: 0.5 kB / 0.8816 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.22e-07/0.005098, allocations: 1.469 kB / 0.8816 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.005103, allocations: 0 / 0.8816 GB, free: 3.109 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.0004684/0.005571, allocations: 0.4957 MB / 0.8821 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.005604, allocations: 8.562 kB / 0.8821 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.005661, allocations: 25.66 kB / 0.8821 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.005834, allocations: 148.5 kB / 0.8823 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.005847, allocations: 4.375 kB / 0.8823 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.005868, allocations: 13.47 kB / 0.8823 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.005994, allocations: 93.22 kB / 0.8824 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.006001, allocations: 1.625 kB / 0.8824 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.00601, allocations: 384 / 0.8824 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.006017, allocations: 4.375 kB / 0.8824 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.006071, allocations: 35.84 kB / 0.8824 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.006241, allocations: 191.4 kB / 0.8826 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.006342, allocations: 113.3 kB / 0.8827 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.006398, allocations: 51.16 kB / 0.8828 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.006406, allocations: 4 kB / 0.8828 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.006554, allocations: 146.4 kB / 0.8829 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.006555, allocations: 0 / 0.8829 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0002822/0.006837, allocations: 161.4 kB / 0.8831 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.006892, allocations: 126.7 kB / 0.8832 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.656e-05/0.006989, allocations: 197.2 kB / 0.8834 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.007013, allocations: 37.7 kB / 0.8834 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.007069, allocations: 147.4 kB / 0.8836 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.007112, allocations: 48.73 kB / 0.8836 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.007172, allocations: 63.34 kB / 0.8837 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.007288, allocations: 0.5001 MB / 0.8842 GB, free: 260 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-05/0.007338, allocations: 28.27 kB / 0.8842 GB, free: 228 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.007795, allocations: 457.9 kB / 0.8846 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.007916, allocations: 110.9 kB / 0.8847 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007918, allocations: 0 / 0.8847 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001779/0.008096, allocations: 169.3 kB / 0.8849 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.008109, allocations: 4 kB / 0.8849 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.008129, allocations: 8 kB / 0.8849 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.008142, allocations: 7.922 kB / 0.8849 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.008234, allocations: 23.94 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.008242, allocations: 8.922 kB / 0.8849 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.008351, allocations: 39.86 kB / 0.885 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.008363, allocations: 12 kB / 0.885 GB, free: 15.26 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 8.539e-05/0.008448, allocations: 179.1 kB / 0.8852 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.008467, allocations: 16.05 kB / 0.8852 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.008492, allocations: 20.77 kB / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.008495, allocations: 3.938 kB / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.008502, allocations: 7.984 kB / 0.8852 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.008505, allocations: 0 / 0.8852 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.384e-05/0.008599, allocations: 148.5 kB / 0.8853 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.0086, allocations: 4 kB / 0.8853 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.008628, allocations: 8 kB / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.00863, allocations: 4 kB / 0.8854 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.008639, allocations: 0 / 0.8854 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.008642, allocations: 4 kB / 0.8854 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.008644, allocations: 7.875 kB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.008822, allocations: 187.6 kB / 0.8855 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.008837, allocations: 19.84 kB / 0.8856 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.008857, allocations: 7.984 kB / 0.8856 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.008886, allocations: 4 kB / 0.8856 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.008931, allocations: 19.92 kB / 0.8856 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.008939, allocations: 4 kB / 0.8856 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.008987, allocations: 145.5 kB / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008988, allocations: 0 / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002442/0.009232, allocations: 103.8 kB / 0.8858 GB, free: 14.31 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.0002285/0.00946, allocations: 214.9 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.009669, allocations: 188.6 kB / 0.8862 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.00967, allocations: 0 / 0.8862 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.021e-05/0.009721, allocations: 47.59 kB / 0.8863 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.009851, allocations: 12 kB / 0.8863 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.01018, allocations: 233.8 kB / 0.8865 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.01022, allocations: 71.78 kB / 0.8866 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.01026, allocations: 12.97 kB / 0.8866 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.01028, allocations: 16.5 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.01029, allocations: 0 / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of Templates: time 0.004538/0.01482, allocations: 3.274 MB / 0.8898 GB, free: 10.23 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.428495272994041]