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.001914/0.001914, allocations: 79.83 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002281/0.002281, allocations: 167.5 kB / 22.46 MB, free: 5.379 MB / 14.72 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.622/1.622, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.89/2.89, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.246e-06/3.246e-06, allocations: 0 / 0.9815 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.505e-05, allocations: 6.219 kB / 0.9815 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003269/0.003304, allocations: 1.735 MB / 0.9832 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.005013, allocations: 0.6051 MB / 0.9838 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-05/0.005097, allocations: 0 / 0.9838 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.005218, allocations: 15.8 kB / 0.9838 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.005382, allocations: 39.72 kB / 0.9838 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.006436, allocations: 374.2 kB / 0.9842 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007962/0.007232, allocations: 0.597 MB / 0.9848 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.007342, allocations: 21.3 kB / 0.9848 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000603/0.007945, allocations: 427.5 kB / 0.9852 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.008257, allocations: 135.7 kB / 0.9853 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.00837, allocations: 43.94 kB / 0.9854 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.008482, allocations: 43.94 kB / 0.9854 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.008646, allocations: 127.7 kB / 0.9855 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.008857, allocations: 147.7 kB / 0.9857 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008513/0.009708, allocations: 0.6467 MB / 0.9863 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.009712, allocations: 0 / 0.9863 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.462e-06/0.009714, allocations: 0 / 0.9863 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.009722, allocations: 0 / 0.9863 GB, free: 7.008 MB / 0.9356 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.001609/0.01133, allocations: 0.8417 MB / 0.9871 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.01139, allocations: 8.031 kB / 0.9871 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.01156, allocations: 56.66 kB / 0.9872 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/0.01214, allocations: 279.9 kB / 0.9874 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.01219, allocations: 28.36 kB / 0.9875 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.888e-05/0.01228, allocations: 28.38 kB / 0.9875 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.01349, allocations: 252.6 kB / 0.9877 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.0135, allocations: 192 / 0.9877 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.01353, allocations: 8.359 kB / 0.9877 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.01354, allocations: 4.375 kB / 0.9877 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008712/0.01441, allocations: 135.8 kB / 0.9879 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.01574, allocations: 0.5313 MB / 0.9884 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.01689, allocations: 186.5 kB / 0.9886 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/0.01773, allocations: 124.7 kB / 0.9887 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.01776, allocations: 19.86 kB / 0.9887 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.01888, allocations: 239.2 kB / 0.9889 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.01889, allocations: 0 / 0.9889 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002888/0.02177, allocations: 0.5317 MB / 0.9895 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.02185, allocations: 63.39 kB / 0.9895 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.02246, allocations: 445.9 kB / 0.9899 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/0.02255, allocations: 41.69 kB / 0.99 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.02267, allocations: 113.3 kB / 0.9901 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.02272, allocations: 39.69 kB / 0.9901 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.02298, allocations: 137.5 kB / 0.9903 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.02316, allocations: 322.8 kB / 0.9906 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.02356, allocations: 227.2 kB / 0.9908 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.02397, allocations: 269.3 kB / 0.991 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.02442, allocations: 295.3 kB / 0.9913 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.02442, allocations: 3.938 kB / 0.9913 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001092/0.02551, allocations: 0.6054 MB / 0.9919 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.02562, allocations: 91.38 kB / 0.992 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.02563, allocations: 0 / 0.992 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.02565, allocations: 4.188 kB / 0.992 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.02583, allocations: 35.84 kB / 0.992 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.02585, allocations: 4 kB / 0.992 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.02638, allocations: 59.84 kB / 0.9921 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.02649, allocations: 63.98 kB / 0.9922 GB, free: 0.6602 MB / 0.9356 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.0003112/0.0268, allocations: 219 kB / 0.9924 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.02687, allocations: 47.7 kB / 0.9924 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.51e-05/0.02694, allocations: 39.73 kB / 0.9925 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.02695, allocations: 0 / 0.9925 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.02695, allocations: 0 / 0.9925 GB, free: 364 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.02696, allocations: 3.984 kB / 0.9925 GB, free: 360 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.02941, allocations: 0.7479 MB / 0.9932 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.02941, allocations: 0 / 0.9932 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.02945, allocations: 7.984 kB / 0.9932 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.02945, allocations: 0 / 0.9932 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.0295, allocations: 15.98 kB / 0.9932 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/0.0295, allocations: 8 kB / 0.9932 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02951, allocations: 0 / 0.9932 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.03159, allocations: 0.515 MB / 0.9937 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.03195, allocations: 177.5 kB / 0.9939 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/0.03204, allocations: 23.92 kB / 0.9939 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.03256, allocations: 39.95 kB / 0.994 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.0326, allocations: 3.984 kB / 0.994 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-05/0.0327, allocations: 63.97 kB / 0.994 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004707/0.03317, allocations: 319.1 kB / 0.9943 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.03317, allocations: 4 kB / 0.9943 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004658/0.03363, allocations: 71.94 kB / 0.9944 GB, free: 14.31 MB / 0.9512 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.0002447/0.03388, allocations: 123.2 kB / 0.9945 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.03543, allocations: 0.5281 MB / 0.995 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.03543, allocations: 4.125 kB / 0.995 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008495/0.03628, allocations: 123.9 kB / 0.9952 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.03672, allocations: 45.5 kB / 0.9952 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.03857, allocations: 0.6125 MB / 0.9958 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.03881, allocations: 186.8 kB / 0.996 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.368e-05/0.03888, allocations: 13.48 kB / 0.996 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.03893, allocations: 16.5 kB / 0.996 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of SimCode: time 4.71e-07/0.03893, allocations: 0 / 0.996 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of Templates: time 0.01284/0.05177, allocations: 6.379 MB / 1.002 GB, free: 6.156 MB / 0.9512 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.605955183506012]