Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.00099/0.00099, allocations: 73.97 kB / 20.65 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.001022/0.001022, allocations: 169 kB / 24.05 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.9559/0.9559, allocations: 177.1 MB / 204.5 MB, free: 5.461 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.097/2.097, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8794 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.714e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00756/0.007587, allocations: 1.572 MB / 0.8809 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.008777, allocations: 0.5334 MB / 0.8814 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.008847, allocations: 1.094 kB / 0.8814 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.008954, allocations: 7.875 kB / 0.8814 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.009072, allocations: 36.88 kB / 0.8815 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007452/0.009817, allocations: 316.9 kB / 0.8818 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.003714/0.01353, allocations: 487.4 kB / 0.8822 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.01358, allocations: 7.656 kB / 0.8822 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004671/0.01405, allocations: 351.6 kB / 0.8826 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.01432, allocations: 129.2 kB / 0.8827 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.518e-05/0.01439, allocations: 28 kB / 0.8827 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.683e-05/0.01445, allocations: 28 kB / 0.8827 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.01457, allocations: 123.6 kB / 0.8829 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.0147, allocations: 123.7 kB / 0.883 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.01511, allocations: 378.8 kB / 0.8833 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01512, allocations: 0.9375 kB / 0.8833 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.143e-06/0.01512, allocations: 0 / 0.8833 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.01512, allocations: 0 / 0.8833 GB, free: 2.016 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.004084/0.01921, allocations: 0.9231 MB / 0.8842 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.01925, allocations: 8.031 kB / 0.8843 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.01937, allocations: 57.52 kB / 0.8843 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.01967, allocations: 258.8 kB / 0.8846 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.01972, allocations: 25.2 kB / 0.8846 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.01979, allocations: 20.38 kB / 0.8846 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.02019, allocations: 202.8 kB / 0.8848 GB, free: 444 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.0202, allocations: 192 / 0.8848 GB, free: 444 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.02022, allocations: 8.359 kB / 0.8848 GB, free: 436 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.02023, allocations: 4.375 kB / 0.8848 GB, free: 432 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.02034, allocations: 51.91 kB / 0.8849 GB, free: 380 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.02064, allocations: 252.9 kB / 0.8851 GB, free: 100 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.02088, allocations: 115 kB / 0.8852 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.02099, allocations: 59.61 kB / 0.8853 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.02101, allocations: 4 kB / 0.8853 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.02124, allocations: 176.9 kB / 0.8854 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.02124, allocations: 4 kB / 0.8854 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.003723/0.02497, allocations: 357.2 kB / 0.8858 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.02501, allocations: 63.34 kB / 0.8858 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.02533, allocations: 418.5 kB / 0.8862 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.02537, allocations: 41.69 kB / 0.8863 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.02544, allocations: 144.2 kB / 0.8864 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.02549, allocations: 43.67 kB / 0.8865 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.02566, allocations: 131.1 kB / 0.8866 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.02581, allocations: 0.5039 MB / 0.8871 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.02604, allocations: 159.3 kB / 0.8872 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.02626, allocations: 234.1 kB / 0.8874 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.02652, allocations: 252.6 kB / 0.8877 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02652, allocations: 4 kB / 0.8877 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006729/0.0272, allocations: 0.5313 MB / 0.8882 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/0.02727, allocations: 83.38 kB / 0.8883 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.02727, allocations: 4 kB / 0.8883 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.02729, allocations: 3.938 kB / 0.8883 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.02744, allocations: 31.97 kB / 0.8883 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.02744, allocations: 4 kB / 0.8883 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/0.0307, allocations: 55.98 kB / 0.8884 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.03077, allocations: 59.92 kB / 0.8884 GB, free: 12.43 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.0001603/0.03093, allocations: 182.6 kB / 0.8886 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.031, allocations: 43.72 kB / 0.8887 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.03106, allocations: 39.67 kB / 0.8887 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.03106, allocations: 0 / 0.8887 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.03106, allocations: 0 / 0.8887 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.03107, allocations: 0 / 0.8887 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008012/0.03187, allocations: 0.6179 MB / 0.8893 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.03187, allocations: 3.938 kB / 0.8893 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.0319, allocations: 4 kB / 0.8893 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.03191, allocations: 7.984 kB / 0.8893 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.03194, allocations: 15.98 kB / 0.8893 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.03194, allocations: 7.938 kB / 0.8893 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.03194, allocations: 3.938 kB / 0.8893 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.03243, allocations: 456 kB / 0.8898 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.03263, allocations: 117.5 kB / 0.8899 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.03269, allocations: 15.98 kB / 0.8899 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.03289, allocations: 15.98 kB / 0.8899 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.03292, allocations: 11.92 kB / 0.8899 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/0.03298, allocations: 63.97 kB / 0.89 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001671/0.03314, allocations: 255 kB / 0.8902 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.03314, allocations: 0 / 0.8902 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003239/0.03347, allocations: 67.98 kB / 0.8903 GB, free: 10.46 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 0.00315/0.03662, allocations: 123.7 kB / 0.8904 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.03716, allocations: 406.1 kB / 0.8908 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.03716, allocations: 0 / 0.8908 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.03729, allocations: 82.58 kB / 0.8909 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.03765, allocations: 53.61 kB / 0.8909 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.03847, allocations: 479 kB / 0.8914 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.687e-05/0.03853, allocations: 83.81 kB / 0.8915 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.891e-05/0.03858, allocations: 17.12 kB / 0.8915 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.0388, allocations: 138.2 kB / 0.8916 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of SimCode: time 9.92e-07/0.0388, allocations: 0 / 0.8916 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of Templates: time 0.01481/0.05361, allocations: 5.508 MB / 0.897 GB, free: 3.449 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.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.430440883152187]