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.001657/0.001657, allocations: 79.2 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.001806/0.001806, allocations: 163 kB / 22.46 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.164 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 2.892/2.892, allocations: 389 MB / 0.633 GB, free: 1.012 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.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.373e-06/1.373e-06, allocations: 0 / 1 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.188e-05, allocations: 2.281 kB / 1 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002592/0.002614, allocations: 1.524 MB / 1.002 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.003967, allocations: 0.5303 MB / 1.002 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.004021, allocations: 0 / 1.002 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 9.299e-05/0.004114, allocations: 7.922 kB / 1.002 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.004246, allocations: 35.56 kB / 1.002 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008369/0.005083, allocations: 317.6 kB / 1.002 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.00566, allocations: 495.4 kB / 1.003 GB, free: 3.359 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.005704, allocations: 15.91 kB / 1.003 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.006239, allocations: 355.6 kB / 1.003 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.006523, allocations: 127.7 kB / 1.003 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.006625, allocations: 28 kB / 1.003 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.006728, allocations: 28 kB / 1.003 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.00687, allocations: 119.7 kB / 1.004 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.007057, allocations: 127.7 kB / 1.004 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.007595, allocations: 462.8 kB / 1.004 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.007598, allocations: 4 kB / 1.004 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.61e-07/0.007599, allocations: 0 / 1.004 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.007608, allocations: 0 / 1.004 GB, free: 2.117 MB / 0.9044 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.001288/0.008895, allocations: 0.7912 MB / 1.005 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.008933, allocations: 8.031 kB / 1.005 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.009067, allocations: 56.69 kB / 1.005 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.009481, allocations: 259.9 kB / 1.005 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.009524, allocations: 16.36 kB / 1.005 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.511e-05/0.009619, allocations: 32.36 kB / 1.005 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.01071, allocations: 226 kB / 1.005 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.01072, allocations: 192 / 1.005 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.01075, allocations: 8.359 kB / 1.005 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.01076, allocations: 384 / 1.005 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008659/0.01162, allocations: 111.9 kB / 1.006 GB, free: 0.5195 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.01205, allocations: 285.1 kB / 1.006 GB, free: 216 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.01321, allocations: 190.3 kB / 1.006 GB, free: 16 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008577/0.01407, allocations: 123.8 kB / 1.006 GB, free: 15.89 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.0141, allocations: 4 kB / 1.006 GB, free: 15.89 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/0.01518, allocations: 237.6 kB / 1.006 GB, free: 15.65 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 2.394e-06/0.01518, allocations: 0 / 1.006 GB, free: 15.65 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.002942/0.01812, allocations: 0.5206 MB / 1.007 GB, free: 15.12 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.01819, allocations: 67.39 kB / 1.007 GB, free: 15.04 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/0.01869, allocations: 409.9 kB / 1.007 GB, free: 14.64 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.039e-05/0.01878, allocations: 41.69 kB / 1.007 GB, free: 14.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.01888, allocations: 97.41 kB / 1.007 GB, free: 14.49 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.01895, allocations: 43.72 kB / 1.007 GB, free: 14.45 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.01917, allocations: 125.5 kB / 1.008 GB, free: 14.32 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.01935, allocations: 322.8 kB / 1.008 GB, free: 13.99 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.0197, allocations: 195.2 kB / 1.008 GB, free: 13.79 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.02008, allocations: 246 kB / 1.008 GB, free: 13.52 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.02049, allocations: 279.4 kB / 1.009 GB, free: 13.21 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.0205, allocations: 0 / 1.009 GB, free: 13.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009704/0.02147, allocations: 0.5548 MB / 1.009 GB, free: 12.62 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.02157, allocations: 83.38 kB / 1.009 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.02158, allocations: 0 / 1.009 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.02159, allocations: 4 kB / 1.009 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.02176, allocations: 23.92 kB / 1.009 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.02177, allocations: 11.92 kB / 1.009 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.0223, allocations: 68.03 kB / 1.009 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.0224, allocations: 63.98 kB / 1.009 GB, free: 12.36 MB / 0.92 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.0002489/0.02265, allocations: 188.2 kB / 1.01 GB, free: 12.17 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.02272, allocations: 39.77 kB / 1.01 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.588e-05/0.0228, allocations: 43.67 kB / 1.01 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.0228, allocations: 0 / 1.01 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.02281, allocations: 4 kB / 1.01 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.02281, allocations: 7.938 kB / 1.01 GB, free: 12.08 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.02526, allocations: 0.7054 MB / 1.01 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02526, allocations: 0 / 1.01 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.0253, allocations: 11.92 kB / 1.01 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.0253, allocations: 4 kB / 1.01 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.02534, allocations: 23.91 kB / 1.01 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.02535, allocations: 4 kB / 1.01 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02535, allocations: 0 / 1.01 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.02734, allocations: 0.5065 MB / 1.011 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.02762, allocations: 129.5 kB / 1.011 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.0277, allocations: 15.94 kB / 1.011 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.02823, allocations: 39.95 kB / 1.011 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.02826, allocations: 11.92 kB / 1.011 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/0.02835, allocations: 59.97 kB / 1.011 GB, free: 10.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003586/0.02871, allocations: 295.1 kB / 1.011 GB, free: 10.23 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.02871, allocations: 0 / 1.011 GB, free: 10.23 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003765/0.02909, allocations: 64 kB / 1.011 GB, free: 10.17 MB / 0.92 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 0.0001886/0.02928, allocations: 123.2 kB / 1.012 GB, free: 10.04 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001473/0.03075, allocations: 493.8 kB / 1.012 GB, free: 9.52 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.03075, allocations: 4 kB / 1.012 GB, free: 9.516 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008837/0.03164, allocations: 128.2 kB / 1.012 GB, free: 9.391 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.03203, allocations: 29.73 kB / 1.012 GB, free: 9.367 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.03369, allocations: 0.5657 MB / 1.013 GB, free: 8.773 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.0339, allocations: 163 kB / 1.013 GB, free: 8.598 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.307e-05/0.03397, allocations: 17.14 kB / 1.013 GB, free: 8.582 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.03402, allocations: 12.5 kB / 1.013 GB, free: 8.57 MB / 0.92 GB Notification: Performance of SimCode: time 3.1e-07/0.03402, allocations: 0 / 1.013 GB, free: 8.57 MB / 0.92 GB Notification: Performance of Templates: time 0.01106/0.04509, allocations: 5.863 MB / 1.019 GB, free: 2.645 MB / 0.92 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: 8.084803730249405]