Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.0009339/0.0009339, 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.001028/0.001028, allocations: 173 kB / 23.5 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.9408/0.9408, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.147/2.147, allocations: 429.5 MB / 0.6736 GB, free: 4.055 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.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.853e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002284/0.002312, allocations: 1.797 MB / 0.88 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.003438, allocations: 0.6237 MB / 0.8806 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.003513, allocations: 1.062 kB / 0.8806 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.003612, allocations: 8.969 kB / 0.8806 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.003727, allocations: 39.72 kB / 0.8807 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007164/0.004444, allocations: 365.7 kB / 0.881 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004489/0.004893, allocations: 0.597 MB / 0.8816 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.00499, allocations: 25.28 kB / 0.8816 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.005381, allocations: 419.6 kB / 0.882 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.005607, allocations: 145 kB / 0.8821 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.005659, allocations: 40 kB / 0.8822 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.905e-05/0.005708, allocations: 40.88 kB / 0.8822 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.005811, allocations: 127.6 kB / 0.8823 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.005932, allocations: 144.4 kB / 0.8825 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.006275, allocations: 438.7 kB / 0.8829 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.006279, allocations: 5.594 kB / 0.8829 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.00628, allocations: 0 / 0.8829 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.006286, allocations: 0 / 0.8829 GB, free: 1.848 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.0009278/0.007214, allocations: 0.9478 MB / 0.8838 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.007249, allocations: 8.031 kB / 0.8838 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.007368, allocations: 60.66 kB / 0.8839 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.007646, allocations: 286.8 kB / 0.8842 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.007685, allocations: 24.36 kB / 0.8842 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.007734, allocations: 28.36 kB / 0.8842 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.008254, allocations: 225.3 kB / 0.8844 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.008261, allocations: 192 / 0.8844 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.008283, allocations: 4.375 kB / 0.8844 GB, free: 180 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.008293, allocations: 384 / 0.8844 GB, free: 180 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.00841, allocations: 69.78 kB / 0.8845 GB, free: 112 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007917/0.009201, allocations: 0.6125 MB / 0.8851 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.009423, allocations: 123 kB / 0.8852 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.009528, allocations: 71.59 kB / 0.8853 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.009549, allocations: 4 kB / 0.8853 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.009762, allocations: 191.5 kB / 0.8855 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.009763, allocations: 0 / 0.8855 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005606/0.01032, allocations: 373.2 kB / 0.8858 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.01037, allocations: 67.33 kB / 0.8859 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.01066, allocations: 434.7 kB / 0.8863 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.0107, allocations: 41.7 kB / 0.8864 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.01077, allocations: 152.1 kB / 0.8865 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.0108, allocations: 39.73 kB / 0.8865 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.01093, allocations: 143 kB / 0.8867 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.01104, allocations: 0.4962 MB / 0.8872 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.01127, allocations: 179.3 kB / 0.8873 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.01148, allocations: 257.8 kB / 0.8876 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.01172, allocations: 282.8 kB / 0.8878 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01173, allocations: 0 / 0.8878 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005818/0.01231, allocations: 0.5743 MB / 0.8884 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/0.01237, allocations: 91.38 kB / 0.8885 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01238, allocations: 0 / 0.8885 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.01239, allocations: 4 kB / 0.8885 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.01252, allocations: 35.91 kB / 0.8885 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01253, allocations: 0 / 0.8885 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.01271, allocations: 47.86 kB / 0.8886 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.01277, allocations: 59.98 kB / 0.8886 GB, free: 11.62 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.0001293/0.0129, allocations: 191.2 kB / 0.8888 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.01295, allocations: 51.66 kB / 0.8889 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.013, allocations: 39.7 kB / 0.8889 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.013, allocations: 4 kB / 0.8889 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01301, allocations: 0 / 0.8889 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01301, allocations: 0 / 0.8889 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.01369, allocations: 0.7075 MB / 0.8896 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01369, allocations: 4 kB / 0.8896 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.01372, allocations: 7.984 kB / 0.8896 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-06/0.01372, allocations: 0 / 0.8896 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.01375, allocations: 19.98 kB / 0.8896 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.01375, allocations: 3.984 kB / 0.8896 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01375, allocations: 0 / 0.8896 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.01415, allocations: 467.9 kB / 0.8901 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.01432, allocations: 165.5 kB / 0.8902 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.01438, allocations: 16 kB / 0.8902 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.01454, allocations: 27.97 kB / 0.8903 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.01457, allocations: 7.984 kB / 0.8903 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.01462, allocations: 59.98 kB / 0.8903 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001665/0.01478, allocations: 279 kB / 0.8906 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01478, allocations: 0 / 0.8906 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002424/0.01503, allocations: 68 kB / 0.8907 GB, free: 9.453 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.0001408/0.01517, allocations: 120.2 kB / 0.8908 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.01565, allocations: 461.9 kB / 0.8912 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01565, allocations: 0 / 0.8912 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.01592, allocations: 79.97 kB / 0.8913 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.01622, allocations: 71.02 kB / 0.8914 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.01682, allocations: 498.8 kB / 0.8918 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.009e-05/0.01687, allocations: 87.81 kB / 0.8919 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.045e-05/0.01691, allocations: 17.48 kB / 0.8919 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.01694, allocations: 16.5 kB / 0.892 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.01694, allocations: 0 / 0.892 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of Templates: time 0.007954/0.0249, allocations: 6.407 MB / 0.8982 GB, free: 1.582 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_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.6157891319599]