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.0008801/0.0008801, allocations: 77.14 kB / 19.87 MB, free: 4.621 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.0008908/0.0008908, allocations: 173 kB / 23.28 MB, free: 1.219 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.9663/0.9663, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.389/2.389, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.853e-06/1.853e-06, allocations: 0 / 0.8897 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.328e-05, allocations: 5.125 kB / 0.8897 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002873/0.002896, allocations: 1.565 MB / 0.8912 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.00443, allocations: 0.5288 MB / 0.8918 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.004504, allocations: 0 / 0.8918 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.004613, allocations: 7.875 kB / 0.8918 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.004741, allocations: 31.78 kB / 0.8918 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009496/0.005691, allocations: 327.2 kB / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.006323, allocations: 491.4 kB / 0.8926 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.006364, allocations: 4 kB / 0.8926 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.006891, allocations: 347.6 kB / 0.8929 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.007213, allocations: 143.7 kB / 0.893 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-05/0.007302, allocations: 28 kB / 0.8931 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.007374, allocations: 24 kB / 0.8931 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.007498, allocations: 127.6 kB / 0.8932 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.007639, allocations: 123.7 kB / 0.8933 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.008052, allocations: 378.9 kB / 0.8937 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.008054, allocations: 0 / 0.8937 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.62e-07/0.008055, allocations: 0 / 0.8937 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.008062, allocations: 0 / 0.8937 GB, free: 5.723 MB / 0.8542 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.001143/0.009204, allocations: 0.9259 MB / 0.8946 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.009252, allocations: 8.625 kB / 0.8946 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.009397, allocations: 56.7 kB / 0.8947 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.009729, allocations: 258.8 kB / 0.8949 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.009774, allocations: 16.36 kB / 0.8949 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.009844, allocations: 28.38 kB / 0.8949 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.01032, allocations: 198.7 kB / 0.8951 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.01033, allocations: 4.188 kB / 0.8951 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.01035, allocations: 4.375 kB / 0.8951 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.01036, allocations: 384 / 0.8951 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.01049, allocations: 59.84 kB / 0.8952 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.01084, allocations: 252.9 kB / 0.8954 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.0111, allocations: 119 kB / 0.8956 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.01123, allocations: 59.64 kB / 0.8956 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.01126, allocations: 4 kB / 0.8956 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.01151, allocations: 172.8 kB / 0.8958 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.01151, allocations: 0 / 0.8958 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0007643/0.01228, allocations: 364.1 kB / 0.8961 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.01231, allocations: 59.41 kB / 0.8962 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003625/0.01268, allocations: 418.5 kB / 0.8966 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.01273, allocations: 41.69 kB / 0.8966 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.01281, allocations: 144.2 kB / 0.8968 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.01286, allocations: 43.61 kB / 0.8968 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.01312, allocations: 131.1 kB / 0.8969 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.01327, allocations: 0.5039 MB / 0.8974 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.01352, allocations: 163.3 kB / 0.8976 GB, free: 1.492 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.0138, allocations: 229.8 kB / 0.8978 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.01411, allocations: 254.4 kB / 0.898 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01411, allocations: 0 / 0.898 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008886/0.015, allocations: 0.5294 MB / 0.8986 GB, free: 388 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.443e-05/0.01507, allocations: 87.36 kB / 0.8986 GB, free: 288 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01508, allocations: 0 / 0.8986 GB, free: 288 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.0151, allocations: 4 kB / 0.8986 GB, free: 284 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.01526, allocations: 35.92 kB / 0.8987 GB, free: 248 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01527, allocations: 3.984 kB / 0.8987 GB, free: 244 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.01553, allocations: 55.94 kB / 0.8987 GB, free: 188 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.01561, allocations: 59.98 kB / 0.8988 GB, free: 128 kB / 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.000174/0.01579, allocations: 190.5 kB / 0.899 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.01587, allocations: 39.77 kB / 0.899 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.142e-05/0.01593, allocations: 39.67 kB / 0.8991 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.01593, allocations: 4 kB / 0.8991 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.01593, allocations: 3.938 kB / 0.8991 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01594, allocations: 4 kB / 0.8991 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008744/0.01682, allocations: 0.6111 MB / 0.8997 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.01682, allocations: 0 / 0.8997 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.01686, allocations: 4 kB / 0.8997 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.01686, allocations: 0 / 0.8997 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.0169, allocations: 23.97 kB / 0.8997 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.0169, allocations: 4 kB / 0.8997 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.01691, allocations: 3.938 kB / 0.8997 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.0175, allocations: 456 kB / 0.9001 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.01774, allocations: 121.9 kB / 0.9002 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.01781, allocations: 12 kB / 0.9003 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.01811, allocations: 31.97 kB / 0.9003 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.01815, allocations: 11.92 kB / 0.9003 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/0.01821, allocations: 55.97 kB / 0.9004 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000205/0.01842, allocations: 267 kB / 0.9006 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.01842, allocations: 0 / 0.9006 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003707/0.01879, allocations: 71.98 kB / 0.9007 GB, free: 14.13 MB / 0.8698 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 0.000142/0.01893, allocations: 109.9 kB / 0.9008 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006585/0.01959, allocations: 428.1 kB / 0.9012 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01959, allocations: 4.125 kB / 0.9012 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.01977, allocations: 83.52 kB / 0.9013 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.02014, allocations: 49.12 kB / 0.9013 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009374/0.02108, allocations: 479 kB / 0.9018 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.771e-05/0.02115, allocations: 87.81 kB / 0.9019 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.382e-05/0.0212, allocations: 17.14 kB / 0.9019 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/0.02174, allocations: 142.2 kB / 0.902 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of SimCode: time 8.52e-07/0.02174, allocations: 4 kB / 0.902 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of Templates: time 0.008453/0.03019, allocations: 5.333 MB / 0.9072 GB, free: 7.277 MB / 0.8698 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.4717174977995455]