Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009601/0.0009601, allocations: 76.31 kB / 21.47 MB, free: 3.039 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.001234/0.001234, allocations: 171.2 kB / 24.87 MB, free: 9.258 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.145 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.859/1.859, allocations: 359 MB / 0.6063 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 4 kB / 0.7884 GB, free: 12.18 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.391e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.18 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003852/0.003886, allocations: 1.785 MB / 0.7901 GB, free: 10.39 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.005697, allocations: 0.6082 MB / 0.7907 GB, free: 9.789 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.005823, allocations: 4.688 kB / 0.7907 GB, free: 9.785 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.005949, allocations: 16.77 kB / 0.7907 GB, free: 9.77 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.006121, allocations: 35.78 kB / 0.7908 GB, free: 9.734 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.007158, allocations: 366.5 kB / 0.7911 GB, free: 9.379 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0008104/0.007968, allocations: 0.6009 MB / 0.7917 GB, free: 8.777 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.008104, allocations: 13.31 kB / 0.7917 GB, free: 8.766 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006798/0.008783, allocations: 427.5 kB / 0.7921 GB, free: 8.348 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.009161, allocations: 144.6 kB / 0.7922 GB, free: 8.207 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 9.99e-05/0.00926, allocations: 41.75 kB / 0.7923 GB, free: 8.168 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.009337, allocations: 40 kB / 0.7923 GB, free: 8.129 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.009494, allocations: 131.6 kB / 0.7925 GB, free: 8 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.009688, allocations: 147.7 kB / 0.7926 GB, free: 7.855 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.01025, allocations: 434.7 kB / 0.793 GB, free: 7.43 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.01026, allocations: 4.594 kB / 0.793 GB, free: 7.426 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.293e-06/0.01026, allocations: 0.5 kB / 0.793 GB, free: 7.426 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.01027, allocations: 0 / 0.793 GB, free: 7.426 MB / 0.7449 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.001343/0.01161, allocations: 0.9465 MB / 0.7939 GB, free: 6.402 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.01165, allocations: 8.031 kB / 0.7939 GB, free: 6.395 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.01181, allocations: 66.02 kB / 0.794 GB, free: 6.332 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.01221, allocations: 290.8 kB / 0.7943 GB, free: 6.023 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.01227, allocations: 20.36 kB / 0.7943 GB, free: 6.004 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.01235, allocations: 30.12 kB / 0.7943 GB, free: 5.977 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.01284, allocations: 204.6 kB / 0.7945 GB, free: 5.773 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01285, allocations: 8.641 kB / 0.7945 GB, free: 5.766 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.01288, allocations: 5.094 kB / 0.7945 GB, free: 5.762 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.01289, allocations: 384 / 0.7945 GB, free: 5.762 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.01303, allocations: 63 kB / 0.7946 GB, free: 5.707 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.01411, allocations: 0.5476 MB / 0.7951 GB, free: 5.133 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.01438, allocations: 118.2 kB / 0.7952 GB, free: 5.012 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.01452, allocations: 65.09 kB / 0.7953 GB, free: 4.949 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.01454, allocations: 4 kB / 0.7953 GB, free: 4.945 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.01482, allocations: 178.3 kB / 0.7955 GB, free: 4.766 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=16): time 2.254e-06/0.01483, allocations: 0 / 0.7955 GB, free: 4.766 MB / 0.7449 GB Notification: Performance of matching and sorting (n=16): time 0.0007718/0.0156, allocations: 367.7 kB / 0.7958 GB, free: 4.406 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.01564, allocations: 55.41 kB / 0.7959 GB, free: 4.34 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.01609, allocations: 430.5 kB / 0.7963 GB, free: 3.898 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-05/0.01616, allocations: 41.69 kB / 0.7963 GB, free: 3.852 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01627, allocations: 148.1 kB / 0.7965 GB, free: 3.703 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.01632, allocations: 47.66 kB / 0.7965 GB, free: 3.656 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.01656, allocations: 143.1 kB / 0.7967 GB, free: 3.508 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.01672, allocations: 0.4923 MB / 0.7971 GB, free: 3.004 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.01702, allocations: 175.3 kB / 0.7973 GB, free: 2.82 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.0173, allocations: 242.3 kB / 0.7975 GB, free: 2.543 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.01763, allocations: 269.9 kB / 0.7978 GB, free: 2.238 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.01763, allocations: 8 kB / 0.7978 GB, free: 2.23 MB / 0.7449 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008704/0.0185, allocations: 0.5429 MB / 0.7983 GB, free: 1.656 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.01861, allocations: 91.38 kB / 0.7984 GB, free: 1.555 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.01862, allocations: 0 / 0.7984 GB, free: 1.555 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.01863, allocations: 4 kB / 0.7984 GB, free: 1.551 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.01882, allocations: 31.97 kB / 0.7985 GB, free: 1.52 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01883, allocations: 7.938 kB / 0.7985 GB, free: 1.512 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.01915, allocations: 48.05 kB / 0.7985 GB, free: 1.465 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/0.01924, allocations: 55.98 kB / 0.7986 GB, free: 1.41 MB / 0.7449 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.0002536/0.01949, allocations: 195.1 kB / 0.7988 GB, free: 1.211 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.422e-05/0.01959, allocations: 51.69 kB / 0.7988 GB, free: 1.16 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.292e-05/0.01966, allocations: 31.73 kB / 0.7988 GB, free: 1.129 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01966, allocations: 0 / 0.7988 GB, free: 1.129 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01967, allocations: 0 / 0.7988 GB, free: 1.129 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.01968, allocations: 7.984 kB / 0.7988 GB, free: 1.121 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000996/0.02068, allocations: 0.6346 MB / 0.7995 GB, free: 460 kB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.02068, allocations: 0 / 0.7995 GB, free: 460 kB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.02073, allocations: 7.938 kB / 0.7995 GB, free: 452 kB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.02074, allocations: 3.938 kB / 0.7995 GB, free: 448 kB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.02078, allocations: 19.97 kB / 0.7995 GB, free: 428 kB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.02078, allocations: 4 kB / 0.7995 GB, free: 424 kB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.02078, allocations: 0 / 0.7995 GB, free: 424 kB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.02142, allocations: 462.2 kB / 0.7999 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003028/0.02173, allocations: 169.7 kB / 0.8001 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.02181, allocations: 19.98 kB / 0.8001 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.02208, allocations: 19.98 kB / 0.8001 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.02212, allocations: 7.984 kB / 0.8001 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/0.02219, allocations: 55.97 kB / 0.8002 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002548/0.02245, allocations: 271 kB / 0.8005 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.1e-07/0.02245, allocations: 0 / 0.8005 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004847/0.02293, allocations: 71.92 kB / 0.8005 GB, free: 15.34 MB / 0.7605 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.0001983/0.02313, allocations: 123.2 kB / 0.8006 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006717/0.0238, allocations: 425.5 kB / 0.801 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.0238, allocations: 0 / 0.801 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.02397, allocations: 78.97 kB / 0.8011 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.02444, allocations: 73.16 kB / 0.8012 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/0.02536, allocations: 0.4948 MB / 0.8017 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.783e-05/0.02544, allocations: 91.75 kB / 0.8018 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.3e-05/0.02551, allocations: 21.47 kB / 0.8018 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.0258, allocations: 146.2 kB / 0.8019 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of SimCode: time 1.603e-06/0.0258, allocations: 0 / 0.8019 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of Templates: time 0.01187/0.03767, allocations: 6.061 MB / 0.8078 GB, free: 7.723 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.441825584042817]