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.001416/0.001416, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001375/0.001375, allocations: 173 kB / 24.28 MB, free: 276 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.9489/0.9489, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.817/1.817, allocations: 359 MB / 0.6055 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] 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 2.425e-06/2.425e-06, allocations: 0 / 0.7872 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.57e-05, allocations: 7.031 kB / 0.7872 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002515/0.002551, allocations: 1.778 MB / 0.7889 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003699, allocations: 0.6163 MB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.003779, allocations: 0.7812 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.003893, allocations: 7.875 kB / 0.7895 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.004029, allocations: 40.78 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008076/0.004836, allocations: 372.4 kB / 0.7899 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007235/0.00556, allocations: 0.6009 MB / 0.7905 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.005691, allocations: 21.83 kB / 0.7905 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.006108, allocations: 415.5 kB / 0.7909 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.006347, allocations: 140.4 kB / 0.791 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.006408, allocations: 43.98 kB / 0.7911 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.006467, allocations: 44 kB / 0.7911 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.006579, allocations: 127.6 kB / 0.7912 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.006702, allocations: 147.7 kB / 0.7914 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.007064, allocations: 442.6 kB / 0.7918 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.007067, allocations: 1.406 kB / 0.7918 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.373e-06/0.007068, allocations: 0 / 0.7918 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.007075, allocations: 0 / 0.7918 GB, free: 8.023 MB / 0.7448 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.001012/0.008088, allocations: 0.9461 MB / 0.7927 GB, free: 7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.008129, allocations: 12.94 kB / 0.7927 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.008243, allocations: 64.66 kB / 0.7928 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.008536, allocations: 283.5 kB / 0.7931 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/0.008575, allocations: 20.36 kB / 0.7931 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.008624, allocations: 34.17 kB / 0.7931 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.009005, allocations: 214.7 kB / 0.7933 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.009014, allocations: 0.7188 kB / 0.7933 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.009038, allocations: 9.078 kB / 0.7933 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.009047, allocations: 4.375 kB / 0.7933 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.009167, allocations: 64.94 kB / 0.7934 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007976/0.009964, allocations: 0.61 MB / 0.794 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.01018, allocations: 127.2 kB / 0.7941 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.01029, allocations: 71.66 kB / 0.7942 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.01031, allocations: 4 kB / 0.7942 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.01053, allocations: 183.5 kB / 0.7944 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.01053, allocations: 0 / 0.7944 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005709/0.0111, allocations: 380.5 kB / 0.7947 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.01115, allocations: 67.33 kB / 0.7948 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.01145, allocations: 430.7 kB / 0.7952 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.01149, allocations: 41.64 kB / 0.7952 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.01156, allocations: 152.1 kB / 0.7954 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.01159, allocations: 43.67 kB / 0.7954 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.01172, allocations: 143.1 kB / 0.7956 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.01184, allocations: 0.4884 MB / 0.796 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.01206, allocations: 191.3 kB / 0.7962 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.01229, allocations: 253.1 kB / 0.7965 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.01254, allocations: 283 kB / 0.7967 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01254, allocations: 4 kB / 0.7967 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007277/0.01327, allocations: 0.5743 MB / 0.7973 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/0.01333, allocations: 87.38 kB / 0.7974 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.01334, allocations: 0 / 0.7974 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01335, allocations: 4 kB / 0.7974 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.01348, allocations: 39.91 kB / 0.7974 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.01348, allocations: 7.938 kB / 0.7974 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.01366, allocations: 43.86 kB / 0.7975 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.01371, allocations: 59.98 kB / 0.7975 GB, free: 1.816 MB / 0.7448 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.0001336/0.01385, allocations: 195.2 kB / 0.7977 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.0139, allocations: 47.7 kB / 0.7978 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.01395, allocations: 39.72 kB / 0.7978 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01395, allocations: 0 / 0.7978 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.01395, allocations: 0 / 0.7978 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01396, allocations: 0 / 0.7978 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.0146, allocations: 0.7004 MB / 0.7985 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.0146, allocations: 4 kB / 0.7985 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.01463, allocations: 11.98 kB / 0.7985 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.01463, allocations: 3.984 kB / 0.7985 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.01465, allocations: 15.98 kB / 0.7985 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.01465, allocations: 3.984 kB / 0.7985 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.01466, allocations: 3.938 kB / 0.7985 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.01504, allocations: 471.9 kB / 0.799 GB, free: 268 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.0152, allocations: 169.5 kB / 0.7991 GB, free: 96 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.01525, allocations: 16 kB / 0.7992 GB, free: 80 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.01539, allocations: 23.97 kB / 0.7992 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.01543, allocations: 15.92 kB / 0.7992 GB, free: 40 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.01548, allocations: 52.03 kB / 0.7992 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001621/0.01564, allocations: 283 kB / 0.7995 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01565, allocations: 0 / 0.7995 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002294/0.01587, allocations: 67.98 kB / 0.7996 GB, free: 15.65 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.0001402/0.01601, allocations: 123.2 kB / 0.7997 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.01649, allocations: 456.2 kB / 0.8001 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01649, allocations: 0 / 0.8001 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.01661, allocations: 83.97 kB / 0.8002 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.0169, allocations: 59.64 kB / 0.8003 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.01752, allocations: 0.4948 MB / 0.8008 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.698e-05/0.01757, allocations: 95.8 kB / 0.8008 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.08e-05/0.01762, allocations: 17.48 kB / 0.8009 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.01765, allocations: 16.5 kB / 0.8009 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of SimCode: time 8.22e-07/0.01765, allocations: 0 / 0.8009 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of Templates: time 0.007692/0.02535, allocations: 6.413 MB / 0.8071 GB, free: 7.77 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.273441230878234]