Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008134/0.0008134, 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.0009158/0.0009158, 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 1.023/1.023, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.919/1.919, allocations: 377.8 MB / 0.6236 GB, free: 8.508 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.CalendarTimeMonthsMinus,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.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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8116 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.616e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002273/0.002299, allocations: 1.789 MB / 0.8133 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.003446, allocations: 0.619 MB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.003515, allocations: 0 / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.003621, allocations: 13.11 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.00374, allocations: 35.78 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007677/0.004508, allocations: 372.8 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.005099, allocations: 0.6008 MB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.0052, allocations: 21.28 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004317/0.005632, allocations: 425 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.005898, allocations: 137.5 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.005966, allocations: 41.53 kB / 0.8155 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.236e-05/0.006029, allocations: 44 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.006134, allocations: 131.6 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.006253, allocations: 143.7 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.006621, allocations: 439.5 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006624, allocations: 3.938 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.006625, allocations: 0.9688 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.006631, allocations: 0 / 0.8163 GB, free: 12.86 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.001022/0.007654, allocations: 0.9383 MB / 0.8172 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.007693, allocations: 12.75 kB / 0.8172 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.007815, allocations: 64.64 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.008117, allocations: 288 kB / 0.8175 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.008154, allocations: 16.38 kB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.008207, allocations: 32.36 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.008584, allocations: 223.2 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.008595, allocations: 4.188 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.008616, allocations: 384 / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.008626, allocations: 4.375 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.00874, allocations: 65 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.009527, allocations: 0.6131 MB / 0.8185 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.009735, allocations: 118.6 kB / 0.8186 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.009838, allocations: 69.64 kB / 0.8186 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.009861, allocations: 7.984 kB / 0.8186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.01007, allocations: 182.2 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.01007, allocations: 0 / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005525/0.01062, allocations: 384.1 kB / 0.8192 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.01066, allocations: 63.41 kB / 0.8192 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.01095, allocations: 434.7 kB / 0.8197 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.01099, allocations: 41.69 kB / 0.8197 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.01106, allocations: 152.1 kB / 0.8198 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.01109, allocations: 39.69 kB / 0.8199 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.01122, allocations: 139.1 kB / 0.82 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.01134, allocations: 0.4962 MB / 0.8205 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.01156, allocations: 183.3 kB / 0.8207 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.01179, allocations: 257 kB / 0.8209 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.01203, allocations: 278.9 kB / 0.8212 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01203, allocations: 0 / 0.8212 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005807/0.01261, allocations: 0.5755 MB / 0.8217 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.394e-05/0.01268, allocations: 87.38 kB / 0.8218 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01268, allocations: 4 kB / 0.8218 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.0127, allocations: 0 / 0.8218 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.01283, allocations: 39.84 kB / 0.8219 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.01284, allocations: 7.984 kB / 0.8219 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.01302, allocations: 52.05 kB / 0.8219 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.01307, allocations: 59.98 kB / 0.822 GB, free: 6.676 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.0001254/0.0132, allocations: 187.1 kB / 0.8222 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.01326, allocations: 59.64 kB / 0.8222 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.0133, allocations: 35.73 kB / 0.8223 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.0133, allocations: 0 / 0.8223 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01331, allocations: 0 / 0.8223 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.01331, allocations: 3.984 kB / 0.8223 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.01399, allocations: 0.7043 MB / 0.8229 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01399, allocations: 0 / 0.8229 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.01401, allocations: 4 kB / 0.8229 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01401, allocations: 0 / 0.8229 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.01404, allocations: 27.97 kB / 0.823 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01404, allocations: 0 / 0.823 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01405, allocations: 0 / 0.823 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.01445, allocations: 467.9 kB / 0.8234 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.01462, allocations: 173.5 kB / 0.8236 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.01467, allocations: 23.98 kB / 0.8236 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.01482, allocations: 23.86 kB / 0.8236 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.01484, allocations: 7.984 kB / 0.8236 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.01489, allocations: 63.97 kB / 0.8237 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001688/0.01506, allocations: 279.1 kB / 0.824 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01506, allocations: 0 / 0.824 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000248/0.01531, allocations: 71.98 kB / 0.824 GB, free: 4.496 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.0001337/0.01544, allocations: 134.3 kB / 0.8242 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004872/0.01593, allocations: 449.5 kB / 0.8246 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01593, allocations: 0 / 0.8246 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.01604, allocations: 80.02 kB / 0.8247 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.01633, allocations: 57.61 kB / 0.8247 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/0.01693, allocations: 0.495 MB / 0.8252 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.583e-05/0.01699, allocations: 91.81 kB / 0.8253 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.01703, allocations: 13.48 kB / 0.8253 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.01707, allocations: 24.48 kB / 0.8253 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of SimCode: time 8.61e-07/0.01707, allocations: 0 / 0.8253 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.007819/0.02489, allocations: 6.401 MB / 0.8316 GB, free: 12.64 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.449966514017433]