Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001009/0.001009, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00104/0.00104, allocations: 161 kB / 23.82 MB, free: 0.75 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.9881/0.9881, allocations: 177.1 MB / 204.2 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.98/1.98, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0.9844 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.144e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003141/0.003173, allocations: 1.804 MB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.004659, allocations: 0.6145 MB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.00474, allocations: 4 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.004859, allocations: 13.55 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.005003, allocations: 35.72 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009287/0.005932, allocations: 360.8 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.006612, allocations: 0.6009 MB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.006727, allocations: 25.28 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005684/0.007295, allocations: 419.6 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.007608, allocations: 141.4 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.989e-05/0.007678, allocations: 40 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.356e-05/0.007741, allocations: 40 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.007849, allocations: 132.8 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.007974, allocations: 151.7 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.008337, allocations: 426.8 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.008341, allocations: 1.781 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.064e-06/0.008343, allocations: 7.984 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.008349, allocations: 0 / 0.8163 GB, free: 12.89 MB / 0.7761 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.0009955/0.009344, allocations: 0.9377 MB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.009385, allocations: 10.62 kB / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.009501, allocations: 68.64 kB / 0.8172 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.00981, allocations: 286.7 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/0.00985, allocations: 16.38 kB / 0.8175 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.009904, allocations: 32.36 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.01029, allocations: 213.8 kB / 0.8178 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.0103, allocations: 4.172 kB / 0.8178 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.01032, allocations: 9.5 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.01033, allocations: 384 / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.01045, allocations: 68.66 kB / 0.8178 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.01126, allocations: 0.611 MB / 0.8184 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.01149, allocations: 128.3 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.0116, allocations: 69.41 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.01162, allocations: 0 / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.01184, allocations: 188.7 kB / 0.8188 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.01184, allocations: 0 / 0.8188 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005657/0.01241, allocations: 381.9 kB / 0.8192 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.01244, allocations: 63.34 kB / 0.8192 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.01274, allocations: 430.7 kB / 0.8196 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.01278, allocations: 41.69 kB / 0.8197 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.01285, allocations: 152.1 kB / 0.8198 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.01289, allocations: 39.69 kB / 0.8199 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.01302, allocations: 147.1 kB / 0.82 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.01315, allocations: 0.4923 MB / 0.8205 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.01337, allocations: 179.3 kB / 0.8207 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.01359, allocations: 261 kB / 0.8209 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.01385, allocations: 283.1 kB / 0.8212 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01385, allocations: 0 / 0.8212 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005935/0.01444, allocations: 0.5712 MB / 0.8217 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/0.0145, allocations: 87.38 kB / 0.8218 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01451, allocations: 4 kB / 0.8218 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.01453, allocations: 4 kB / 0.8218 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.01466, allocations: 39.91 kB / 0.8219 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.01467, allocations: 0 / 0.8219 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.01485, allocations: 52.05 kB / 0.8219 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.01491, allocations: 63.97 kB / 0.822 GB, free: 6.699 MB / 0.7761 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.00015/0.01506, allocations: 191.1 kB / 0.8222 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.01512, allocations: 51.64 kB / 0.8222 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.579e-05/0.01517, allocations: 35.73 kB / 0.8222 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01518, allocations: 4 kB / 0.8222 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.01518, allocations: 0 / 0.8222 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01518, allocations: 0 / 0.8222 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007032/0.01589, allocations: 0.7043 MB / 0.8229 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01589, allocations: 3.984 kB / 0.8229 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.01592, allocations: 4 kB / 0.8229 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01592, allocations: 3.938 kB / 0.8229 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.01594, allocations: 19.97 kB / 0.823 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01595, allocations: 7.938 kB / 0.823 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01595, allocations: 0 / 0.823 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.01633, allocations: 471.9 kB / 0.8234 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.01651, allocations: 165.5 kB / 0.8236 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.01656, allocations: 19.98 kB / 0.8236 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.0167, allocations: 19.98 kB / 0.8236 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.01674, allocations: 7.984 kB / 0.8236 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.01679, allocations: 63.97 kB / 0.8237 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001637/0.01695, allocations: 283.1 kB / 0.824 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01695, allocations: 0 / 0.824 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002247/0.01718, allocations: 68 kB / 0.824 GB, free: 4.527 MB / 0.7761 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.0001375/0.01732, allocations: 134.2 kB / 0.8241 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.01778, allocations: 445.5 kB / 0.8246 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.01778, allocations: 4 kB / 0.8246 GB, free: 3.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.01789, allocations: 83.97 kB / 0.8247 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.01818, allocations: 70.59 kB / 0.8247 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.01876, allocations: 0.4892 MB / 0.8252 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.108e-05/0.01881, allocations: 87.81 kB / 0.8253 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.674e-05/0.01885, allocations: 17.47 kB / 0.8253 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.01888, allocations: 16.5 kB / 0.8253 GB, free: 3.102 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.01888, allocations: 4 kB / 0.8253 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of Templates: time 0.0071/0.02599, allocations: 6.406 MB / 0.8316 GB, free: 12.66 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.425306678749621]