Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.001346/0.001346, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001531/0.001531, allocations: 166.5 kB / 24.86 MB, free: 8.883 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.9664/0.9664, allocations: 177.1 MB / 205.3 MB, free: 5.129 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.883/1.883, 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7884 GB, free: 12.17 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.868e-05, allocations: 5.578 kB / 0.7884 GB, free: 12.16 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.005954/0.005983, allocations: 1.781 MB / 0.7901 GB, free: 10.39 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.007413, allocations: 0.6073 MB / 0.7907 GB, free: 9.781 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.007517, allocations: 7.938 kB / 0.7907 GB, free: 9.773 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.007629, allocations: 8.438 kB / 0.7907 GB, free: 9.766 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.003167/0.0108, allocations: 35.78 kB / 0.7908 GB, free: 9.73 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009638/0.01176, allocations: 365.5 kB / 0.7911 GB, free: 9.375 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0006382/0.0124, allocations: 0.6047 MB / 0.7917 GB, free: 8.77 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.0125, allocations: 25.28 kB / 0.7917 GB, free: 8.746 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.01305, allocations: 417 kB / 0.7921 GB, free: 8.34 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.01335, allocations: 139.5 kB / 0.7923 GB, free: 8.203 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 7.414e-05/0.01342, allocations: 41.22 kB / 0.7923 GB, free: 8.164 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-05/0.01349, allocations: 40 kB / 0.7923 GB, free: 8.125 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.003139/0.01663, allocations: 127.6 kB / 0.7924 GB, free: 8 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.01679, allocations: 152.3 kB / 0.7926 GB, free: 7.852 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.01726, allocations: 438.7 kB / 0.793 GB, free: 7.422 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01727, allocations: 5.406 kB / 0.793 GB, free: 7.418 MB / 0.7449 GB Notification: Performance of FrontEnd: time 2.094e-06/0.01727, allocations: 0 / 0.793 GB, free: 7.418 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.01728, allocations: 0 / 0.793 GB, free: 7.418 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.001143/0.01842, allocations: 0.9463 MB / 0.7939 GB, free: 6.395 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.01846, allocations: 8.031 kB / 0.7939 GB, free: 6.387 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.0186, allocations: 69.66 kB / 0.794 GB, free: 6.32 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.01895, allocations: 282.7 kB / 0.7943 GB, free: 6.02 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.01899, allocations: 20.36 kB / 0.7943 GB, free: 6 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/0.01906, allocations: 32.92 kB / 0.7943 GB, free: 5.969 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/0.02249, allocations: 208.3 kB / 0.7945 GB, free: 5.766 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.02251, allocations: 192 / 0.7945 GB, free: 5.766 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.02254, allocations: 13.95 kB / 0.7945 GB, free: 5.754 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.02254, allocations: 384 / 0.7945 GB, free: 5.754 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.02267, allocations: 55.66 kB / 0.7946 GB, free: 5.703 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009377/0.02361, allocations: 0.5445 MB / 0.7951 GB, free: 5.133 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.02385, allocations: 118.6 kB / 0.7952 GB, free: 5.012 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.02396, allocations: 60.03 kB / 0.7953 GB, free: 4.953 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.02398, allocations: 4.562 kB / 0.7953 GB, free: 4.949 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.02423, allocations: 181.7 kB / 0.7955 GB, free: 4.762 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.02423, allocations: 1.469 kB / 0.7955 GB, free: 4.762 MB / 0.7449 GB Notification: Performance of matching and sorting (n=16): time 0.0006518/0.02488, allocations: 360.5 kB / 0.7958 GB, free: 4.418 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.02493, allocations: 64.52 kB / 0.7959 GB, free: 4.344 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.02528, allocations: 426.5 kB / 0.7963 GB, free: 3.906 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 4.707e-05/0.02532, allocations: 37.7 kB / 0.7963 GB, free: 3.863 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.003094/0.02842, allocations: 161 kB / 0.7965 GB, free: 3.703 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.02847, allocations: 43.67 kB / 0.7965 GB, free: 3.66 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.02866, allocations: 140.4 kB / 0.7967 GB, free: 3.516 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.0288, allocations: 0.5001 MB / 0.7971 GB, free: 3.004 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.02904, allocations: 171.3 kB / 0.7973 GB, free: 2.824 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.02929, allocations: 237.8 kB / 0.7975 GB, free: 2.551 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.02957, allocations: 275.1 kB / 0.7978 GB, free: 2.242 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.02958, allocations: 0 / 0.7978 GB, free: 2.242 MB / 0.7449 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006985/0.03028, allocations: 0.5391 MB / 0.7983 GB, free: 1.672 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/0.03035, allocations: 91.38 kB / 0.7984 GB, free: 1.57 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.03036, allocations: 4.188 kB / 0.7984 GB, free: 1.566 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.03038, allocations: 4 kB / 0.7984 GB, free: 1.562 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.03053, allocations: 35.91 kB / 0.7985 GB, free: 1.527 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.03054, allocations: 4 kB / 0.7985 GB, free: 1.523 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.03079, allocations: 47.8 kB / 0.7985 GB, free: 1.477 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.46e-05/0.03086, allocations: 59.98 kB / 0.7986 GB, free: 1.418 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.0001873/0.03105, allocations: 203.1 kB / 0.7988 GB, free: 1.211 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.03112, allocations: 43.7 kB / 0.7988 GB, free: 1.168 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.03117, allocations: 43.72 kB / 0.7988 GB, free: 1.125 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.03118, allocations: 0 / 0.7988 GB, free: 1.125 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.03118, allocations: 0 / 0.7988 GB, free: 1.125 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.03118, allocations: 4 kB / 0.7988 GB, free: 1.121 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.03317, allocations: 0.6268 MB / 0.7995 GB, free: 468 kB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.03317, allocations: 0 / 0.7995 GB, free: 468 kB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.03321, allocations: 7.984 kB / 0.7995 GB, free: 460 kB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.03322, allocations: 0 / 0.7995 GB, free: 460 kB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.03325, allocations: 23.98 kB / 0.7995 GB, free: 436 kB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.03325, allocations: 4 kB / 0.7995 GB, free: 432 kB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.03325, allocations: 0 / 0.7995 GB, free: 432 kB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.03382, allocations: 466.2 kB / 0.7999 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.03408, allocations: 169.5 kB / 0.8001 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.03414, allocations: 16 kB / 0.8001 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.03436, allocations: 22.84 kB / 0.8001 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.03439, allocations: 7.984 kB / 0.8001 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.03445, allocations: 59.98 kB / 0.8002 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000193/0.03464, allocations: 267 kB / 0.8005 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.61e-07/0.03464, allocations: 0 / 0.8005 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003602/0.035, allocations: 67.98 kB / 0.8005 GB, free: 15.35 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.0001843/0.03519, allocations: 123.2 kB / 0.8006 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005715/0.03576, allocations: 437.9 kB / 0.8011 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.03576, allocations: 0 / 0.8011 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.03588, allocations: 79.7 kB / 0.8011 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.03619, allocations: 73.69 kB / 0.8012 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.03684, allocations: 498.7 kB / 0.8017 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.742e-05/0.0369, allocations: 95.8 kB / 0.8018 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.693e-05/0.03694, allocations: 21.42 kB / 0.8018 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.03712, allocations: 142.2 kB / 0.8019 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of SimCode: time 1.603e-06/0.03713, allocations: 0 / 0.8019 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of Templates: time 0.007578/0.0447, allocations: 6.072 MB / 0.8079 GB, free: 7.715 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_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.341574523132294]