Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.0008409/0.0008409, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008214/0.0008214, allocations: 177.9 kB / 23.22 MB, free: 1.332 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 0.8839/0.8839, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.788/1.788, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] 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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.925e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001922/0.001951, allocations: 1.525 MB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.002886, allocations: 0.5273 MB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.00294, allocations: 3.938 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.992e-05/0.00303, allocations: 3.938 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.003138, allocations: 39.5 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.003734, allocations: 321.8 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.00408, allocations: 483.4 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.004122, allocations: 11.98 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.004441, allocations: 359.5 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.004637, allocations: 131.7 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.004683, allocations: 28 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.463e-05/0.004728, allocations: 24 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/0.004819, allocations: 123.7 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.004912, allocations: 127.7 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.005229, allocations: 462.8 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005231, allocations: 0 / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005232, allocations: 0 / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.005237, allocations: 0 / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007963/0.006033, allocations: 0.8067 MB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.006064, allocations: 8.75 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.014e-05/0.006144, allocations: 56.66 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.00639, allocations: 252 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.006424, allocations: 20.36 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.006468, allocations: 28.38 kB / 1.006 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.006975, allocations: 228.9 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.934e-06/0.006982, allocations: 4.125 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.007, allocations: 4.375 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.007004, allocations: 384 / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.007353, allocations: 119.9 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.007598, allocations: 281 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.008096, allocations: 186.4 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/0.008432, allocations: 116.8 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.008452, allocations: 3.984 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004521/0.008904, allocations: 235.1 kB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.008905, allocations: 0 / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.001227/0.01013, allocations: 0.5228 MB / 1.008 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.01017, allocations: 67.33 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.01043, allocations: 421.8 kB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.01046, allocations: 37.7 kB / 1.008 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.01051, allocations: 97.44 kB / 1.008 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.01054, allocations: 39.73 kB / 1.008 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.01066, allocations: 129.4 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.01074, allocations: 322.8 kB / 1.009 GB, free: 4.773 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.01093, allocations: 187.3 kB / 1.009 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.01113, allocations: 249.3 kB / 1.009 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.01136, allocations: 279.6 kB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01136, allocations: 0 / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005162/0.01188, allocations: 0.5547 MB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.01193, allocations: 79.38 kB / 1.01 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01193, allocations: 7.984 kB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.01194, allocations: 4.188 kB / 1.01 GB, free: 3.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.01203, allocations: 23.92 kB / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.01204, allocations: 7.938 kB / 1.01 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.01227, allocations: 59.91 kB / 1.01 GB, free: 3.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.01232, allocations: 59.98 kB / 1.01 GB, free: 3.16 MB / 0.9636 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0001384/0.01246, allocations: 199.6 kB / 1.01 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.0125, allocations: 43.77 kB / 1.01 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.01254, allocations: 39.69 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01254, allocations: 3.984 kB / 1.01 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01254, allocations: 0 / 1.01 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01255, allocations: 7.922 kB / 1.01 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.01365, allocations: 0.7129 MB / 1.011 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01365, allocations: 0 / 1.011 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.01366, allocations: 4 kB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01367, allocations: 0 / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.01369, allocations: 23.91 kB / 1.011 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01369, allocations: 4 kB / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01369, allocations: 0 / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/0.01452, allocations: 0.5111 MB / 1.012 GB, free: 1.551 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.01467, allocations: 137.5 kB / 1.012 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.01471, allocations: 15.94 kB / 1.012 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.01492, allocations: 31.97 kB / 1.012 GB, free: 1.367 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.01494, allocations: 7.984 kB / 1.012 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.01498, allocations: 63.97 kB / 1.012 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001791/0.01516, allocations: 295.1 kB / 1.012 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01516, allocations: 4 kB / 1.012 GB, free: 1.008 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002198/0.01538, allocations: 67.98 kB / 1.012 GB, free: 0.9414 MB / 0.9636 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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 9.335e-05/0.01548, allocations: 111.2 kB / 1.012 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006706/0.01615, allocations: 488 kB / 1.013 GB, free: 320 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01615, allocations: 4.062 kB / 1.013 GB, free: 316 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.0165, allocations: 123.9 kB / 1.013 GB, free: 192 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.01673, allocations: 33.56 kB / 1.013 GB, free: 160 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008158/0.01754, allocations: 0.607 MB / 1.014 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.01764, allocations: 167 kB / 1.014 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.01768, allocations: 20.5 kB / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of SimCode: time 3.61e-07/0.01768, allocations: 0 / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.003524/0.0212, allocations: 3.688 MB / 1.017 GB, free: 11.56 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.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: 6.606218713335693]