Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.000993/0.000993, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001707/0.001707, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.945/0.945, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.09/2.09, allocations: 429.5 MB / 0.6743 GB, free: 3.871 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8793 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.066e-05, allocations: 2.312 kB / 0.8793 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002476/0.002507, allocations: 1.561 MB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009851/0.003492, allocations: 0.5424 MB / 0.8814 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.003541, allocations: 0 / 0.8814 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.908e-05/0.003631, allocations: 15.86 kB / 0.8814 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.734e-05/0.003728, allocations: 28.98 kB / 0.8814 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.004272, allocations: 317.1 kB / 0.8817 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.00462, allocations: 487.4 kB / 0.8822 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.004659, allocations: 9.031 kB / 0.8822 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.005, allocations: 351.6 kB / 0.8826 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.005202, allocations: 132.9 kB / 0.8827 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/0.00525, allocations: 24 kB / 0.8827 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.684e-05/0.005297, allocations: 28 kB / 0.8827 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.96e-05/0.005396, allocations: 116.8 kB / 0.8828 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.005512, allocations: 131.7 kB / 0.883 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.0058, allocations: 371.9 kB / 0.8833 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005802, allocations: 0 / 0.8833 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.01e-07/0.005803, allocations: 4 kB / 0.8833 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.005807, allocations: 0.7188 kB / 0.8833 GB, free: 1.957 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.0007983/0.006605, allocations: 0.9186 MB / 0.8842 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.006641, allocations: 9.469 kB / 0.8842 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.203e-05/0.006733, allocations: 64.69 kB / 0.8843 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.006977, allocations: 250.9 kB / 0.8845 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.007015, allocations: 20.36 kB / 0.8846 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.007065, allocations: 32.95 kB / 0.8846 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.007368, allocations: 194.5 kB / 0.8848 GB, free: 392 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.007375, allocations: 4.188 kB / 0.8848 GB, free: 388 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.007392, allocations: 384 / 0.8848 GB, free: 388 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.007396, allocations: 384 / 0.8848 GB, free: 388 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/0.007483, allocations: 59.62 kB / 0.8848 GB, free: 332 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.00771, allocations: 256.9 kB / 0.8851 GB, free: 48 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.007892, allocations: 119 kB / 0.8852 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.007978, allocations: 59.66 kB / 0.8852 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.007995, allocations: 4 kB / 0.8853 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.008174, allocations: 175.9 kB / 0.8854 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.008175, allocations: 0 / 0.8854 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004616/0.008637, allocations: 361.2 kB / 0.8858 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.00867, allocations: 55.41 kB / 0.8858 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.008903, allocations: 426.5 kB / 0.8862 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.008938, allocations: 37.7 kB / 0.8863 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.009004, allocations: 140.2 kB / 0.8864 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.009043, allocations: 47.61 kB / 0.8864 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.009167, allocations: 135.1 kB / 0.8866 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.009288, allocations: 0.5039 MB / 0.8871 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.00944, allocations: 167.3 kB / 0.8872 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.009609, allocations: 226.1 kB / 0.8874 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.009797, allocations: 255.5 kB / 0.8877 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.0098, allocations: 4 kB / 0.8877 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004796/0.01028, allocations: 0.5274 MB / 0.8882 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/0.01033, allocations: 81.88 kB / 0.8883 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.01033, allocations: 4 kB / 0.8883 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.01034, allocations: 4 kB / 0.8883 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.01045, allocations: 35.91 kB / 0.8883 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.01046, allocations: 0 / 0.8883 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.01062, allocations: 51.98 kB / 0.8884 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.01068, allocations: 63.98 kB / 0.8884 GB, free: 12.38 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.0001081/0.01078, allocations: 186.5 kB / 0.8886 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.01084, allocations: 51.7 kB / 0.8887 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.01087, allocations: 35.69 kB / 0.8887 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01088, allocations: 0 / 0.8887 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.01088, allocations: 0 / 0.8887 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01088, allocations: 4 kB / 0.8887 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.01145, allocations: 0.615 MB / 0.8893 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01146, allocations: 3.984 kB / 0.8893 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.01148, allocations: 4 kB / 0.8893 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.01148, allocations: 0 / 0.8893 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.0115, allocations: 23.97 kB / 0.8893 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.0115, allocations: 0 / 0.8893 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.0115, allocations: 3.938 kB / 0.8893 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.01184, allocations: 451.5 kB / 0.8898 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.01198, allocations: 129.5 kB / 0.8899 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.01202, allocations: 12 kB / 0.8899 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.01216, allocations: 15.98 kB / 0.8899 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.01218, allocations: 15.92 kB / 0.8899 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.01222, allocations: 55.97 kB / 0.89 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001143/0.01233, allocations: 263 kB / 0.8902 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.01233, allocations: 0 / 0.8902 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002066/0.01254, allocations: 67.98 kB / 0.8903 GB, free: 10.41 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.193e-05/0.01263, allocations: 115.8 kB / 0.8904 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.01303, allocations: 410.1 kB / 0.8908 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01303, allocations: 0 / 0.8908 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.01312, allocations: 87.88 kB / 0.8909 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.01335, allocations: 45.62 kB / 0.8909 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.01394, allocations: 475.3 kB / 0.8914 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.01399, allocations: 91.81 kB / 0.8915 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.181e-05/0.01402, allocations: 9.141 kB / 0.8915 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.01417, allocations: 138.2 kB / 0.8916 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.01417, allocations: 0 / 0.8916 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of Templates: time 0.005899/0.02007, allocations: 5.512 MB / 0.897 GB, free: 3.398 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.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.373532308265567]