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.0009449/0.0009449, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001019/0.001019, allocations: 177 kB / 24.08 MB, free: 416 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 1.016/1.016, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.842/1.842, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.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.452e-06/1.452e-06, allocations: 0 / 0.8121 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.628e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002118/0.002134, allocations: 1.775 MB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.003301, allocations: 0.6184 MB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.003369, allocations: 2.406 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.003474, allocations: 7.875 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.003595, allocations: 39.72 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.004283, allocations: 376.6 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.004715, allocations: 0.6024 MB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.004801, allocations: 21.28 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.005348, allocations: 419.6 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.005582, allocations: 152.7 kB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.218e-05/0.005644, allocations: 40 kB / 0.816 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.594e-05/0.0057, allocations: 44 kB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.832e-05/0.005798, allocations: 127.6 kB / 0.8162 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.00591, allocations: 148.8 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.006237, allocations: 438.7 kB / 0.8167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006239, allocations: 0 / 0.8167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00624, allocations: 0.9375 kB / 0.8167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.006243, allocations: 0 / 0.8167 GB, free: 12.61 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.0008504/0.007094, allocations: 0.9502 MB / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.00713, allocations: 9.062 kB / 0.8177 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.621e-05/0.007226, allocations: 68.66 kB / 0.8177 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.007523, allocations: 287.8 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.007557, allocations: 16.38 kB / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.007605, allocations: 32.36 kB / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.007932, allocations: 210.9 kB / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.007939, allocations: 192 / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.007957, allocations: 6.062 kB / 0.8183 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.007963, allocations: 384 / 0.8183 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.757e-05/0.00805, allocations: 58.02 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.008693, allocations: 0.5618 MB / 0.8189 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.008858, allocations: 113 kB / 0.819 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.008941, allocations: 60.55 kB / 0.819 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.008961, allocations: 5.328 kB / 0.819 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005235/0.009484, allocations: 181.8 kB / 0.8192 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.009486, allocations: 4 kB / 0.8192 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005791/0.01007, allocations: 363.7 kB / 0.8196 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.01011, allocations: 59.34 kB / 0.8196 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.01045, allocations: 430.5 kB / 0.82 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.01049, allocations: 41.69 kB / 0.8201 GB, free: 9.027 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.01056, allocations: 156 kB / 0.8202 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.0106, allocations: 35.69 kB / 0.8202 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.01073, allocations: 147.1 kB / 0.8204 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.01087, allocations: 0.5001 MB / 0.8209 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.01105, allocations: 163.3 kB / 0.821 GB, free: 8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.01124, allocations: 241.1 kB / 0.8213 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.01146, allocations: 262.2 kB / 0.8215 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01146, allocations: 4 kB / 0.8215 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004941/0.01195, allocations: 0.543 MB / 0.822 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.01201, allocations: 91.36 kB / 0.8221 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01202, allocations: 4 kB / 0.8221 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01203, allocations: 4 kB / 0.8221 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01214, allocations: 31.92 kB / 0.8222 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.01214, allocations: 3.984 kB / 0.8222 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.01232, allocations: 55.98 kB / 0.8222 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.01237, allocations: 55.98 kB / 0.8223 GB, free: 6.594 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.0001223/0.0125, allocations: 191.1 kB / 0.8225 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.01255, allocations: 55.66 kB / 0.8225 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.01259, allocations: 35.72 kB / 0.8225 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.0126, allocations: 0 / 0.8225 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.0126, allocations: 0 / 0.8225 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.0126, allocations: 0 / 0.8225 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005756/0.01318, allocations: 0.6439 MB / 0.8232 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01318, allocations: 0 / 0.8232 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.0132, allocations: 7.984 kB / 0.8232 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.0132, allocations: 0 / 0.8232 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.01323, allocations: 15.98 kB / 0.8232 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01323, allocations: 4 kB / 0.8232 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01323, allocations: 0 / 0.8232 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.01359, allocations: 467.8 kB / 0.8236 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.01375, allocations: 173.5 kB / 0.8238 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.01379, allocations: 16 kB / 0.8238 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.01396, allocations: 31.97 kB / 0.8239 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.01398, allocations: 7.984 kB / 0.8239 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.01402, allocations: 55.97 kB / 0.8239 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001289/0.01415, allocations: 275 kB / 0.8242 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01415, allocations: 4 kB / 0.8242 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002309/0.01438, allocations: 67.98 kB / 0.8243 GB, free: 4.504 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.0001006/0.01448, allocations: 134.6 kB / 0.8244 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004167/0.0149, allocations: 433.6 kB / 0.8248 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.0149, allocations: 0 / 0.8248 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.605e-05/0.015, allocations: 79.94 kB / 0.8249 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.01525, allocations: 67.73 kB / 0.8249 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.01576, allocations: 498.8 kB / 0.8254 GB, free: 3.234 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.828e-05/0.0158, allocations: 87.8 kB / 0.8255 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.01584, allocations: 17.48 kB / 0.8255 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.01602, allocations: 150.2 kB / 0.8257 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.01602, allocations: 0 / 0.8257 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of Templates: time 0.007759/0.02378, allocations: 5.888 MB / 0.8314 GB, free: 13.06 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.127502080984414]