Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.0009734/0.0009734, 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.0009688/0.0009688, allocations: 173 kB / 23.49 MB, free: 1.055 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.9841/0.9841, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.114/2.114, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.757e-05, allocations: 6.188 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002193/0.00222, allocations: 1.79 MB / 0.88 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.00354, allocations: 0.6188 MB / 0.8806 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-05/0.003631, allocations: 0 / 0.8806 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.00374, allocations: 16.89 kB / 0.8806 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.003868, allocations: 35.78 kB / 0.8806 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.00464, allocations: 369.5 kB / 0.881 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000507/0.005147, allocations: 0.5931 MB / 0.8816 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.005261, allocations: 25.28 kB / 0.8816 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004225/0.005683, allocations: 419.5 kB / 0.882 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.005909, allocations: 145.5 kB / 0.8821 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.005969, allocations: 40 kB / 0.8822 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.888e-05/0.006018, allocations: 40 kB / 0.8822 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.006127, allocations: 133 kB / 0.8823 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.006266, allocations: 143.7 kB / 0.8825 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.006636, allocations: 434.8 kB / 0.8829 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.00664, allocations: 3.984 kB / 0.8829 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006641, allocations: 1.594 kB / 0.8829 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.006647, allocations: 0 / 0.8829 GB, free: 1.844 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009444/0.007592, allocations: 0.9454 MB / 0.8838 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.007626, allocations: 9.938 kB / 0.8838 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.00774, allocations: 72.64 kB / 0.8839 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.008025, allocations: 278.8 kB / 0.8842 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.008062, allocations: 16.38 kB / 0.8842 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.008112, allocations: 32.36 kB / 0.8842 GB, free: 408 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.00849, allocations: 227.6 kB / 0.8844 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.008497, allocations: 192 / 0.8844 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.008518, allocations: 8.375 kB / 0.8844 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.008526, allocations: 384 / 0.8844 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.008635, allocations: 63.91 kB / 0.8845 GB, free: 104 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.009432, allocations: 0.6049 MB / 0.8851 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.009637, allocations: 131 kB / 0.8852 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.009742, allocations: 71.41 kB / 0.8853 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.009761, allocations: 4 kB / 0.8853 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.009968, allocations: 185 kB / 0.8855 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.00997, allocations: 0 / 0.8855 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0006146/0.01058, allocations: 388.7 kB / 0.8858 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.01062, allocations: 55.41 kB / 0.8859 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.01093, allocations: 438.7 kB / 0.8863 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.01097, allocations: 41.69 kB / 0.8863 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.01104, allocations: 152.1 kB / 0.8865 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.01108, allocations: 35.75 kB / 0.8865 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.01121, allocations: 147.1 kB / 0.8867 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01133, allocations: 0.4923 MB / 0.8871 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.01155, allocations: 183.3 kB / 0.8873 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.01177, allocations: 261.7 kB / 0.8876 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.01202, allocations: 275.2 kB / 0.8878 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01202, allocations: 3.938 kB / 0.8878 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006112/0.01263, allocations: 0.5703 MB / 0.8884 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.572e-05/0.01271, allocations: 95.56 kB / 0.8885 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01271, allocations: 0 / 0.8885 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.01274, allocations: 4 kB / 0.8885 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.01288, allocations: 35.91 kB / 0.8885 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.01289, allocations: 4 kB / 0.8885 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.01307, allocations: 43.86 kB / 0.8886 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.01313, allocations: 63.98 kB / 0.8886 GB, free: 11.61 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001381/0.01327, allocations: 191.1 kB / 0.8888 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.01332, allocations: 51.7 kB / 0.8889 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.01337, allocations: 35.73 kB / 0.8889 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01337, allocations: 4 kB / 0.8889 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01337, allocations: 0 / 0.8889 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01338, allocations: 0 / 0.8889 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.01404, allocations: 0.6965 MB / 0.8896 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01404, allocations: 0 / 0.8896 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.01407, allocations: 11.94 kB / 0.8896 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01407, allocations: 7.938 kB / 0.8896 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.01409, allocations: 23.97 kB / 0.8896 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.0141, allocations: 0 / 0.8896 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.0141, allocations: 0 / 0.8896 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.0145, allocations: 463.9 kB / 0.8901 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.01466, allocations: 165.5 kB / 0.8902 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.01471, allocations: 19.98 kB / 0.8902 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.01486, allocations: 27.98 kB / 0.8903 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.01489, allocations: 11.98 kB / 0.8903 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.01494, allocations: 55.97 kB / 0.8903 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001759/0.01511, allocations: 279.1 kB / 0.8906 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01511, allocations: 7.938 kB / 0.8906 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002393/0.01535, allocations: 64 kB / 0.8907 GB, free: 9.441 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001184/0.01547, allocations: 124.2 kB / 0.8908 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004866/0.01596, allocations: 457.1 kB / 0.8912 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01596, allocations: 0 / 0.8912 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.01607, allocations: 80.02 kB / 0.8913 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.01635, allocations: 67.66 kB / 0.8914 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.01695, allocations: 498.8 kB / 0.8918 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.017, allocations: 87.81 kB / 0.8919 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.01704, allocations: 17.48 kB / 0.8919 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.01708, allocations: 20.48 kB / 0.892 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of SimCode: time 9.62e-07/0.01708, allocations: 0 / 0.892 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of Templates: time 0.006984/0.02406, allocations: 6.4 MB / 0.8982 GB, free: 1.57 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_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.5902987469453365]