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.0009453/0.0009453, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009505/0.0009505, allocations: 161 kB / 24.17 MB, free: 328 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.044/1.044, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.039/2.039, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.403e-06/1.403e-06, allocations: 0.875 kB / 0.7601 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.491e-05, allocations: 2.906 kB / 0.7601 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00264/0.002665, allocations: 1.837 MB / 0.7619 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003713, allocations: 0.6184 MB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.003772, allocations: 1.031 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.412e-05/0.003867, allocations: 16.34 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.003986, allocations: 34.69 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.004598, allocations: 374.4 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004706/0.005069, allocations: 0.6079 MB / 0.7635 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.832e-05/0.005147, allocations: 25.94 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.005556, allocations: 425.5 kB / 0.764 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.005949, allocations: 147.2 kB / 0.7641 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.006053, allocations: 40 kB / 0.7641 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.987e-05/0.006113, allocations: 40 kB / 0.7642 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.006213, allocations: 127.6 kB / 0.7643 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.006332, allocations: 153.1 kB / 0.7644 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.006705, allocations: 426.8 kB / 0.7648 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.006709, allocations: 0 / 0.7648 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/0.00671, allocations: 0 / 0.7648 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.006716, allocations: 5.219 kB / 0.7649 GB, free: 1.684 MB / 0.7136 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.0009117/0.007628, allocations: 0.7786 MB / 0.7656 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.007666, allocations: 8.031 kB / 0.7656 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.761e-05/0.007764, allocations: 55.12 kB / 0.7657 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.008038, allocations: 251.9 kB / 0.7659 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.008073, allocations: 20.38 kB / 0.7659 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.008121, allocations: 32.36 kB / 0.766 GB, free: 472 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.008458, allocations: 196.5 kB / 0.7661 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.008466, allocations: 192 / 0.7661 GB, free: 276 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.008485, allocations: 8.375 kB / 0.7662 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.008491, allocations: 384 / 0.7662 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.224e-05/0.008574, allocations: 47.28 kB / 0.7662 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005892/0.009163, allocations: 329.1 kB / 0.7665 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.009332, allocations: 94.27 kB / 0.7666 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.009412, allocations: 59.09 kB / 0.7667 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.00943, allocations: 4 kB / 0.7667 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.009602, allocations: 147.3 kB / 0.7668 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.009604, allocations: 0 / 0.7668 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003421/0.009946, allocations: 203.9 kB / 0.767 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.009982, allocations: 63.39 kB / 0.7671 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.01019, allocations: 346.2 kB / 0.7674 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.01023, allocations: 41.69 kB / 0.7674 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.01028, allocations: 105.4 kB / 0.7675 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.01032, allocations: 43.66 kB / 0.7676 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.01044, allocations: 117.4 kB / 0.7677 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.01052, allocations: 322.8 kB / 0.768 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.01068, allocations: 163.3 kB / 0.7681 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.01085, allocations: 218.4 kB / 0.7684 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.01104, allocations: 253.5 kB / 0.7686 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01104, allocations: 0 / 0.7686 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003744/0.01142, allocations: 460.6 kB / 0.769 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/0.01147, allocations: 91.36 kB / 0.7691 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01148, allocations: 1.062 kB / 0.7691 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01149, allocations: 4 kB / 0.7691 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.01161, allocations: 39.91 kB / 0.7692 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.01161, allocations: 5.156 kB / 0.7692 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.01178, allocations: 47.86 kB / 0.7692 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.01183, allocations: 49.02 kB / 0.7693 GB, free: 12.91 MB / 0.7292 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.0001227/0.01195, allocations: 144.1 kB / 0.7694 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.01199, allocations: 31.91 kB / 0.7694 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.01204, allocations: 40.2 kB / 0.7695 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01204, allocations: 4.938 kB / 0.7695 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01205, allocations: 0 / 0.7695 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01205, allocations: 0 / 0.7695 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.01248, allocations: 399.6 kB / 0.7699 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01248, allocations: 3.938 kB / 0.7699 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.0125, allocations: 7.938 kB / 0.7699 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01251, allocations: 0 / 0.7699 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.01253, allocations: 15.97 kB / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01253, allocations: 0.7188 kB / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01253, allocations: 0 / 0.7699 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.01275, allocations: 237.7 kB / 0.7701 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.0129, allocations: 135.5 kB / 0.7702 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.01295, allocations: 16.94 kB / 0.7703 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.01313, allocations: 29.03 kB / 0.7703 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.01315, allocations: 11.98 kB / 0.7703 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.0132, allocations: 48.66 kB / 0.7703 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001139/0.01331, allocations: 149.7 kB / 0.7705 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01331, allocations: 0 / 0.7705 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002195/0.01353, allocations: 68 kB / 0.7706 GB, free: 11.57 MB / 0.7292 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.0001205/0.01365, allocations: 106.6 kB / 0.7707 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004294/0.01408, allocations: 419.6 kB / 0.7711 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.01409, allocations: 4.844 kB / 0.7711 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.817e-05/0.01418, allocations: 57.27 kB / 0.7711 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01442, allocations: 59.08 kB / 0.7712 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.015, allocations: 489.5 kB / 0.7716 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.01505, allocations: 87.81 kB / 0.7717 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.564e-05/0.01509, allocations: 15.73 kB / 0.7717 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.01529, allocations: 123.4 kB / 0.7719 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/0.01529, allocations: 0 / 0.7719 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.007551/0.02284, allocations: 5.877 MB / 0.7776 GB, free: 4.316 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.2440094468183815]