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.001087/0.001087, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001118/0.001118, allocations: 167.3 kB / 24.86 MB, free: 9.289 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.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.488 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 2.02/2.02, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.302e-06/1.302e-06, allocations: 0 / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.973e-05, allocations: 2.969 kB / 0.8128 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.005582/0.005602, allocations: 1.783 MB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.006786, allocations: 0.6166 MB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.006854, allocations: 0.7812 kB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.006959, allocations: 7.875 kB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.007091, allocations: 40.75 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003741/0.01083, allocations: 368.7 kB / 0.8156 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007832/0.01162, allocations: 0.6009 MB / 0.8162 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.01171, allocations: 23.11 kB / 0.8162 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.01213, allocations: 423.5 kB / 0.8166 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.01234, allocations: 131.7 kB / 0.8167 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.0124, allocations: 44 kB / 0.8168 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.397e-05/0.01245, allocations: 41.38 kB / 0.8168 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.01255, allocations: 131.6 kB / 0.8169 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.01266, allocations: 151.7 kB / 0.8171 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.01296, allocations: 428.4 kB / 0.8175 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01296, allocations: 0 / 0.8175 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.01297, allocations: 0 / 0.8175 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.01297, allocations: 3.938 kB / 0.8175 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.001004/0.01397, allocations: 0.9507 MB / 0.8184 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.01401, allocations: 12.03 kB / 0.8184 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.01413, allocations: 60.66 kB / 0.8185 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.01445, allocations: 283.3 kB / 0.8187 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.01449, allocations: 26.27 kB / 0.8188 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.01456, allocations: 36.36 kB / 0.8188 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.01493, allocations: 205.8 kB / 0.819 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.01494, allocations: 4.172 kB / 0.819 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.01496, allocations: 4.359 kB / 0.819 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.01496, allocations: 4.375 kB / 0.819 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.01505, allocations: 60.39 kB / 0.8191 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.0157, allocations: 0.5428 MB / 0.8196 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.01586, allocations: 118.4 kB / 0.8197 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.01594, allocations: 59.28 kB / 0.8198 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.01596, allocations: 4 kB / 0.8198 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.01613, allocations: 182.5 kB / 0.8199 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.404e-06/0.01613, allocations: 1.062 kB / 0.8199 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0004622/0.01659, allocations: 354.3 kB / 0.8203 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.01663, allocations: 71.39 kB / 0.8204 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.01687, allocations: 434.4 kB / 0.8208 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.01691, allocations: 41.7 kB / 0.8208 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.01697, allocations: 148.1 kB / 0.8209 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.017, allocations: 47.59 kB / 0.821 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.01713, allocations: 143.1 kB / 0.8211 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.01725, allocations: 0.4923 MB / 0.8216 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.01741, allocations: 167.3 kB / 0.8218 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.01759, allocations: 241.1 kB / 0.822 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.01778, allocations: 266.2 kB / 0.8223 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01778, allocations: 0 / 0.8223 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004925/0.01827, allocations: 0.543 MB / 0.8228 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.01833, allocations: 87.56 kB / 0.8229 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.01833, allocations: 8 kB / 0.8229 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.01834, allocations: 0 / 0.8229 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.01845, allocations: 43.91 kB / 0.8229 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.01845, allocations: 0 / 0.8229 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.01862, allocations: 47.86 kB / 0.823 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.01867, allocations: 59.98 kB / 0.823 GB, free: 6.648 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.0001225/0.0188, allocations: 191.1 kB / 0.8232 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.01885, allocations: 51.66 kB / 0.8233 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.01889, allocations: 39.72 kB / 0.8233 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.01889, allocations: 7.938 kB / 0.8233 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01889, allocations: 0 / 0.8233 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.0189, allocations: 0 / 0.8233 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.01948, allocations: 0.6407 MB / 0.8239 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01949, allocations: 0 / 0.8239 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.01951, allocations: 7.984 kB / 0.8239 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01951, allocations: 0 / 0.8239 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.01953, allocations: 19.98 kB / 0.824 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01953, allocations: 0 / 0.824 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01953, allocations: 3.984 kB / 0.824 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.01989, allocations: 459.8 kB / 0.8244 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.02006, allocations: 169.5 kB / 0.8246 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.02011, allocations: 12 kB / 0.8246 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.02025, allocations: 27.97 kB / 0.8246 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.02027, allocations: 11.98 kB / 0.8246 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.02032, allocations: 51.98 kB / 0.8247 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001333/0.02045, allocations: 275 kB / 0.8249 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02045, allocations: 0 / 0.8249 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002201/0.02067, allocations: 71.98 kB / 0.825 GB, free: 4.57 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.0001022/0.02077, allocations: 123.9 kB / 0.8251 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003926/0.02116, allocations: 436.1 kB / 0.8255 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.02116, allocations: 0 / 0.8255 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.02126, allocations: 75.78 kB / 0.8256 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.02153, allocations: 73.52 kB / 0.8257 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.02203, allocations: 494.8 kB / 0.8261 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.26e-05/0.02208, allocations: 91.73 kB / 0.8262 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.02212, allocations: 21.47 kB / 0.8262 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.02229, allocations: 150.2 kB / 0.8264 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.02229, allocations: 0 / 0.8264 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of Templates: time 0.006653/0.02895, allocations: 6.067 MB / 0.8323 GB, free: 12.95 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.335385968908668]