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.0009959/0.0009959, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001052/0.001052, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9966/0.9966, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.866/1.866, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] 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.605e-06/2.605e-06, allocations: 0 / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.294e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002653/0.002686, allocations: 1.782 MB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003928, allocations: 0.6177 MB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.004031, allocations: 0.7812 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.004155, allocations: 7.875 kB / 0.814 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.004304, allocations: 41.41 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009448/0.005249, allocations: 371.3 kB / 0.8143 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006913/0.00594, allocations: 0.6024 MB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.00606, allocations: 21.28 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.006568, allocations: 419.6 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.006861, allocations: 141.4 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.006936, allocations: 47.94 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.056e-05/0.006996, allocations: 40 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.007108, allocations: 127.6 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.007241, allocations: 144.8 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.007654, allocations: 434.8 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.007659, allocations: 0 / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.713e-06/0.00766, allocations: 2.594 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.007669, allocations: 0 / 0.8162 GB, free: 12.93 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.001167/0.008835, allocations: 0.9416 MB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.008879, allocations: 8.031 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.009014, allocations: 64.66 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.009342, allocations: 287.2 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/0.009385, allocations: 28.36 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.009434, allocations: 29.08 kB / 0.8176 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.009849, allocations: 218.4 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.009857, allocations: 192 / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.009881, allocations: 4.375 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.009889, allocations: 1.281 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.01, allocations: 69.62 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/0.01086, allocations: 0.6047 MB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.0111, allocations: 127.8 kB / 0.8186 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.01121, allocations: 71.34 kB / 0.8186 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.01123, allocations: 1.125 kB / 0.8186 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.01146, allocations: 193.6 kB / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.395e-06/0.01146, allocations: 0 / 0.8188 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005938/0.01206, allocations: 374.9 kB / 0.8192 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.01211, allocations: 67.33 kB / 0.8192 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.01244, allocations: 430.7 kB / 0.8196 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.01249, allocations: 41.7 kB / 0.8197 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.01258, allocations: 152.1 kB / 0.8198 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.01261, allocations: 39.69 kB / 0.8199 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.01275, allocations: 139.1 kB / 0.82 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.01288, allocations: 0.4923 MB / 0.8205 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.0131, allocations: 187.3 kB / 0.8207 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.01332, allocations: 249.1 kB / 0.8209 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.01357, allocations: 296 kB / 0.8212 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01357, allocations: 0 / 0.8212 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005719/0.01415, allocations: 0.5664 MB / 0.8217 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/0.01421, allocations: 87.38 kB / 0.8218 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.01422, allocations: 11.92 kB / 0.8218 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.01423, allocations: 0 / 0.8218 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.01437, allocations: 40.16 kB / 0.8219 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.01437, allocations: 4 kB / 0.8219 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.01456, allocations: 51.8 kB / 0.8219 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/0.01462, allocations: 63.95 kB / 0.822 GB, free: 6.723 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.0001353/0.01475, allocations: 187.2 kB / 0.8222 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.0148, allocations: 47.66 kB / 0.8222 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.01485, allocations: 39.72 kB / 0.8222 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01486, allocations: 0 / 0.8222 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01486, allocations: 4 kB / 0.8222 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01487, allocations: 4 kB / 0.8222 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006722/0.01554, allocations: 0.6982 MB / 0.8229 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01554, allocations: 0 / 0.8229 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.01557, allocations: 7.984 kB / 0.8229 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.01558, allocations: 0 / 0.8229 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.0156, allocations: 23.86 kB / 0.823 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.0156, allocations: 4 kB / 0.823 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.0156, allocations: 0 / 0.823 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.016, allocations: 471.9 kB / 0.8234 GB, free: 5.176 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.01616, allocations: 173.5 kB / 0.8236 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.01621, allocations: 16 kB / 0.8236 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.01637, allocations: 23.97 kB / 0.8236 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.0164, allocations: 11.98 kB / 0.8236 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.01645, allocations: 55.98 kB / 0.8237 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001698/0.01662, allocations: 279.1 kB / 0.8239 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01662, allocations: 4 kB / 0.824 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002369/0.01685, allocations: 67.98 kB / 0.824 GB, free: 4.559 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.0001372/0.01699, allocations: 131.8 kB / 0.8241 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004762/0.01747, allocations: 456.3 kB / 0.8246 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01747, allocations: 0 / 0.8246 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.01758, allocations: 83.97 kB / 0.8247 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.01788, allocations: 65.53 kB / 0.8247 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.01853, allocations: 494.8 kB / 0.8252 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.398e-05/0.01859, allocations: 91.8 kB / 0.8253 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.053e-05/0.01863, allocations: 13.48 kB / 0.8253 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.01867, allocations: 20.5 kB / 0.8253 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of SimCode: time 8.62e-07/0.01867, allocations: 0 / 0.8253 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of Templates: time 0.008635/0.0273, allocations: 7.038 MB / 0.8322 GB, free: 12.06 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.319596820976585]