Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001734/0.001734, allocations: 80.3 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.002064/0.002064, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.539/1.539, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.029/3.029, allocations: 389 MB / 0.633 GB, free: 0.9648 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.492e-05/3.735e-05, allocations: 2.281 kB / 1 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003816/0.003853, allocations: 1.737 MB / 1.002 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.005517, allocations: 0.6051 MB / 1.002 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.005628, allocations: 7.938 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.005758, allocations: 7.875 kB / 1.002 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.005943, allocations: 43.5 kB / 1.003 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.007117, allocations: 379 kB / 1.003 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008329/0.00795, allocations: 0.6008 MB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.008081, allocations: 21.3 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008113/0.008892, allocations: 419.6 kB / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/0.009329, allocations: 143.7 kB / 1.004 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.009481, allocations: 40 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.009605, allocations: 40 kB / 1.004 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.009774, allocations: 127.6 kB / 1.004 GB, free: 3.074 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.00999, allocations: 147.7 kB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007941/0.01078, allocations: 0.6545 MB / 1.005 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01079, allocations: 0 / 1.005 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01079, allocations: 0 / 1.005 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.0108, allocations: 0 / 1.005 GB, free: 2.273 MB / 0.9512 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.001775/0.01258, allocations: 0.8339 MB / 1.006 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.01262, allocations: 15.98 kB / 1.006 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.01279, allocations: 56.69 kB / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.01326, allocations: 276 kB / 1.006 GB, free: 1 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.01331, allocations: 20.38 kB / 1.006 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.94e-05/0.0134, allocations: 28.36 kB / 1.006 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.01457, allocations: 249.9 kB / 1.006 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01458, allocations: 4.188 kB / 1.006 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.01462, allocations: 8.375 kB / 1.006 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.01463, allocations: 384 / 1.006 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008928/0.01552, allocations: 135.8 kB / 1.007 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.01681, allocations: 0.5352 MB / 1.007 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.01802, allocations: 194.5 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008464/0.01886, allocations: 124.7 kB / 1.007 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.0189, allocations: 11.98 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.02002, allocations: 250.7 kB / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.02002, allocations: 0 / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002981/0.023, allocations: 0.5363 MB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.02307, allocations: 59.39 kB / 1.008 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.02359, allocations: 445.9 kB / 1.009 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.212e-05/0.02367, allocations: 37.7 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.02378, allocations: 109.4 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.02382, allocations: 39.69 kB / 1.009 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.02405, allocations: 137.4 kB / 1.009 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.02419, allocations: 326.8 kB / 1.009 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.02457, allocations: 223.3 kB / 1.009 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.02498, allocations: 269.3 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.02542, allocations: 295 kB / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.02542, allocations: 0 / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001069/0.02649, allocations: 0.608 MB / 1.011 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.02659, allocations: 87.38 kB / 1.011 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.0266, allocations: 4 kB / 1.011 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.02663, allocations: 4 kB / 1.011 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.0268, allocations: 23.92 kB / 1.011 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.02681, allocations: 7.984 kB / 1.011 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.02733, allocations: 64.03 kB / 1.011 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.02744, allocations: 63.92 kB / 1.011 GB, free: 11.94 MB / 0.9669 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.0002749/0.02772, allocations: 216.9 kB / 1.011 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.02778, allocations: 43.66 kB / 1.011 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.519e-05/0.02786, allocations: 47.72 kB / 1.011 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.02786, allocations: 0 / 1.011 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.02787, allocations: 0 / 1.011 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.02787, allocations: 0 / 1.011 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.0303, allocations: 0.748 MB / 1.012 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.03031, allocations: 0 / 1.012 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.03034, allocations: 4 kB / 1.012 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.03035, allocations: 0 / 1.012 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.03039, allocations: 19.97 kB / 1.012 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.03039, allocations: 0 / 1.012 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.0304, allocations: 11.94 kB / 1.012 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.03237, allocations: 0.5111 MB / 1.012 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.03269, allocations: 177.5 kB / 1.013 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/0.03277, allocations: 16 kB / 1.013 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.03329, allocations: 43.94 kB / 1.013 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.03333, allocations: 7.984 kB / 1.013 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.03341, allocations: 67.92 kB / 1.013 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003714/0.03378, allocations: 323.1 kB / 1.013 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.03378, allocations: 0 / 1.013 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004057/0.03419, allocations: 67.98 kB / 1.013 GB, free: 9.59 MB / 0.9669 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.0002013/0.03439, allocations: 125.7 kB / 1.013 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.03589, allocations: 0.5213 MB / 1.014 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.0359, allocations: 3.938 kB / 1.014 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008662/0.03676, allocations: 132.2 kB / 1.014 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.03719, allocations: 41.62 kB / 1.014 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.03889, allocations: 0.6125 MB / 1.014 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.03908, allocations: 175 kB / 1.015 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.865e-05/0.03915, allocations: 17.48 kB / 1.015 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.0392, allocations: 16.48 kB / 1.015 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.0392, allocations: 4 kB / 1.015 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of Templates: time 0.0112/0.05041, allocations: 6.372 MB / 1.021 GB, free: 1.426 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.728340227156878]