Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001251/0.001251, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001082/0.001082, allocations: 181 kB / 24.09 MB, free: 420 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.9799/0.9799, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.92/1.92, allocations: 377.9 MB / 0.6239 GB, free: 8.406 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.735e-05, allocations: 2.312 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003149/0.003176, allocations: 1.774 MB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.004707, allocations: 0.6227 MB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.004812, allocations: 0 / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.004927, allocations: 16.7 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.005079, allocations: 27.84 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009825/0.006061, allocations: 377.5 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006904/0.006751, allocations: 0.6022 MB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.006861, allocations: 25.28 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005936/0.007455, allocations: 423.5 kB / 0.8158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.007759, allocations: 143.9 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.295e-05/0.007852, allocations: 40.53 kB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.95e-05/0.007941, allocations: 40 kB / 0.816 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.008064, allocations: 132.4 kB / 0.8161 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.008219, allocations: 143.7 kB / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.008726, allocations: 435.3 kB / 0.8167 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.008729, allocations: 1.312 kB / 0.8167 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00873, allocations: 0 / 0.8167 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.008738, allocations: 0 / 0.8167 GB, free: 12.65 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.001257/0.009995, allocations: 0.959 MB / 0.8176 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.01004, allocations: 8.031 kB / 0.8176 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.01019, allocations: 60.66 kB / 0.8177 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.01056, allocations: 287.9 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.48e-05/0.01062, allocations: 24.36 kB / 0.818 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.01069, allocations: 32.36 kB / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.01118, allocations: 216.7 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.01119, allocations: 192 / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.01121, allocations: 1.688 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.01122, allocations: 4.375 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.01135, allocations: 56.25 kB / 0.8183 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000976/0.01233, allocations: 0.5496 MB / 0.8188 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.01258, allocations: 124.9 kB / 0.819 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.01271, allocations: 52.95 kB / 0.819 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.01273, allocations: 4 kB / 0.819 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.01301, allocations: 185.4 kB / 0.8192 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.01301, allocations: 3.938 kB / 0.8192 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0007001/0.01371, allocations: 363.1 kB / 0.8195 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.01376, allocations: 63.41 kB / 0.8196 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.01414, allocations: 426.5 kB / 0.82 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/0.01419, allocations: 49.69 kB / 0.82 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.01428, allocations: 148.1 kB / 0.8202 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.01433, allocations: 39.67 kB / 0.8202 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.01452, allocations: 147.1 kB / 0.8204 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.01469, allocations: 0.4962 MB / 0.8209 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.01494, allocations: 163.3 kB / 0.821 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.0152, allocations: 237 kB / 0.8212 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.01549, allocations: 266.6 kB / 0.8215 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01549, allocations: 0 / 0.8215 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007718/0.01626, allocations: 0.5468 MB / 0.822 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.871e-05/0.01635, allocations: 95.3 kB / 0.8221 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.01636, allocations: 8.188 kB / 0.8221 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.01638, allocations: 4 kB / 0.8221 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.01653, allocations: 35.92 kB / 0.8222 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.01654, allocations: 7.984 kB / 0.8222 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.01679, allocations: 43.88 kB / 0.8222 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.01688, allocations: 59.97 kB / 0.8223 GB, free: 6.629 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.0001682/0.01704, allocations: 191.1 kB / 0.8224 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/0.01712, allocations: 51.66 kB / 0.8225 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/0.01718, allocations: 39.72 kB / 0.8225 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01718, allocations: 4 kB / 0.8225 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.01719, allocations: 0 / 0.8225 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01719, allocations: 0 / 0.8225 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008662/0.01806, allocations: 0.6324 MB / 0.8232 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01806, allocations: 0 / 0.8232 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.01809, allocations: 4 kB / 0.8232 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.0181, allocations: 3.984 kB / 0.8232 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.01814, allocations: 23.98 kB / 0.8232 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01814, allocations: 0 / 0.8232 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01814, allocations: 0 / 0.8232 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.01869, allocations: 463.8 kB / 0.8236 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.01895, allocations: 173.4 kB / 0.8238 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/0.01902, allocations: 12 kB / 0.8238 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.01929, allocations: 35.97 kB / 0.8238 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.01932, allocations: 11.98 kB / 0.8239 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/0.01938, allocations: 55.97 kB / 0.8239 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002247/0.01961, allocations: 274.9 kB / 0.8242 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01961, allocations: 0 / 0.8242 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003933/0.02, allocations: 71.98 kB / 0.8242 GB, free: 4.543 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.0001745/0.02018, allocations: 123.9 kB / 0.8244 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006513/0.02083, allocations: 440.2 kB / 0.8248 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02083, allocations: 4 kB / 0.8248 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.02098, allocations: 76 kB / 0.8248 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.0214, allocations: 71.2 kB / 0.8249 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007961/0.0222, allocations: 494.8 kB / 0.8254 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.024e-05/0.02227, allocations: 91.81 kB / 0.8255 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.83e-05/0.02233, allocations: 13.48 kB / 0.8255 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.0226, allocations: 154.1 kB / 0.8256 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of SimCode: time 1.293e-06/0.0226, allocations: 0 / 0.8256 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of Templates: time 0.009094/0.0317, allocations: 5.894 MB / 0.8314 GB, free: 13.08 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.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.125260596629232]