Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0009565/0.0009565, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009779/0.0009779, allocations: 173 kB / 23.03 MB, free: 1.543 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.9177/0.9177, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 1.998/1.998, allocations: 429.5 MB / 0.6733 GB, free: 4.016 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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.657e-05, allocations: 8.922 kB / 0.8781 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002941/0.002968, allocations: 1.572 MB / 0.8797 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.004466, allocations: 0.5391 MB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.004534, allocations: 1.094 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.004656, allocations: 11.86 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.004776, allocations: 29.53 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.005434, allocations: 312.9 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.005824, allocations: 488.2 kB / 0.881 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.005862, allocations: 7.984 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.006204, allocations: 356.7 kB / 0.8814 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.006398, allocations: 123.8 kB / 0.8815 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.006456, allocations: 28.88 kB / 0.8815 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.199e-05/0.006508, allocations: 28 kB / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.791e-05/0.006606, allocations: 116.8 kB / 0.8816 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.006718, allocations: 135.7 kB / 0.8818 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.007024, allocations: 374.8 kB / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.007026, allocations: 0.875 kB / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.007027, allocations: 0 / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.007032, allocations: 0.8438 kB / 0.8821 GB, free: 2.277 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008551/0.007887, allocations: 0.9179 MB / 0.883 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.007921, allocations: 8.031 kB / 0.883 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.008025, allocations: 64.69 kB / 0.8831 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.008267, allocations: 246.9 kB / 0.8833 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.008303, allocations: 20.36 kB / 0.8833 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.00835, allocations: 32.3 kB / 0.8834 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.008699, allocations: 201.5 kB / 0.8836 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.008706, allocations: 192 / 0.8836 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.008726, allocations: 4.375 kB / 0.8836 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.008734, allocations: 8.312 kB / 0.8836 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.396e-05/0.008828, allocations: 59.91 kB / 0.8836 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.009102, allocations: 316.3 kB / 0.8839 GB, free: 288 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.00929, allocations: 125.8 kB / 0.8841 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.295e-05/0.009383, allocations: 67.59 kB / 0.8841 GB, free: 80 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.009404, allocations: 7.984 kB / 0.8841 GB, free: 72 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004531/0.009857, allocations: 184.9 kB / 0.8843 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.009859, allocations: 4 kB / 0.8843 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005083/0.01037, allocations: 376.5 kB / 0.8847 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.0104, allocations: 63.34 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.01066, allocations: 426.6 kB / 0.8851 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.01069, allocations: 41.69 kB / 0.8852 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.01079, allocations: 140.2 kB / 0.8853 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.01082, allocations: 39.7 kB / 0.8854 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.01094, allocations: 135.1 kB / 0.8855 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.01104, allocations: 0.4962 MB / 0.886 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.01124, allocations: 175.3 kB / 0.8861 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.01143, allocations: 242.8 kB / 0.8864 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.01165, allocations: 275.4 kB / 0.8866 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01166, allocations: 7.938 kB / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005181/0.01217, allocations: 0.5508 MB / 0.8872 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/0.01222, allocations: 83.38 kB / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01223, allocations: 4 kB / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.01224, allocations: 4 kB / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.01236, allocations: 35.91 kB / 0.8873 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.01237, allocations: 3.938 kB / 0.8873 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.01255, allocations: 52.05 kB / 0.8873 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.0126, allocations: 55.98 kB / 0.8874 GB, free: 12.51 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0001125/0.01271, allocations: 186.5 kB / 0.8876 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.01276, allocations: 51.72 kB / 0.8876 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.0128, allocations: 31.67 kB / 0.8877 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.0128, allocations: 4 kB / 0.8877 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.0128, allocations: 0 / 0.8877 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01281, allocations: 3.938 kB / 0.8877 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.01343, allocations: 0.677 MB / 0.8883 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01344, allocations: 0 / 0.8883 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.01347, allocations: 4 kB / 0.8883 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01347, allocations: 0 / 0.8883 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.01349, allocations: 27.91 kB / 0.8884 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0135, allocations: 0 / 0.8884 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.0135, allocations: 3.938 kB / 0.8884 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.01386, allocations: 460 kB / 0.8888 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.01398, allocations: 125.5 kB / 0.8889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.01403, allocations: 15.94 kB / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.01417, allocations: 19.97 kB / 0.889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.0142, allocations: 11.98 kB / 0.889 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.01425, allocations: 63.97 kB / 0.889 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001432/0.01439, allocations: 267.1 kB / 0.8893 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01439, allocations: 0 / 0.8893 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002276/0.01462, allocations: 71.98 kB / 0.8893 GB, free: 10.44 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 9.833e-05/0.01472, allocations: 119.2 kB / 0.8895 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.01514, allocations: 429.4 kB / 0.8899 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01514, allocations: 0 / 0.8899 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.01524, allocations: 87.89 kB / 0.89 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.01549, allocations: 55.5 kB / 0.89 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.01616, allocations: 479 kB / 0.8905 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.705e-05/0.01621, allocations: 87.8 kB / 0.8906 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.01624, allocations: 9.156 kB / 0.8906 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.01628, allocations: 20.48 kB / 0.8906 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.01628, allocations: 0 / 0.8906 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of Templates: time 0.007311/0.02359, allocations: 6.505 MB / 0.8969 GB, free: 2.523 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.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.139524580910802]