Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001197/0.001197, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001321/0.001321, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9172/0.9172, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.723/1.723, allocations: 377.9 MB / 0.6228 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] 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.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_12_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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.9821 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.12e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001731/0.001753, allocations: 1.522 MB / 0.9836 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008955/0.002648, allocations: 0.5265 MB / 0.9842 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.002698, allocations: 0 / 0.9842 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.751e-05/0.002785, allocations: 11.88 kB / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.002887, allocations: 27.78 kB / 0.9842 GB, free: 8 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.003465, allocations: 318 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.0038, allocations: 495.4 kB / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.003837, allocations: 0 / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.004146, allocations: 355.6 kB / 0.9853 GB, free: 14.87 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.004336, allocations: 127.7 kB / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.004379, allocations: 24 kB / 0.9854 GB, free: 14.72 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.004427, allocations: 31.94 kB / 0.9855 GB, free: 14.69 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.328e-05/0.00452, allocations: 115.7 kB / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.004621, allocations: 131.7 kB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.005224, allocations: 466.7 kB / 0.9862 GB, free: 13.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.005227, allocations: 4 kB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005228, allocations: 0 / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.005232, allocations: 4 kB / 0.9862 GB, free: 13.98 MB / 0.948 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.0007826/0.006015, allocations: 0.7989 MB / 0.9869 GB, free: 13.11 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.006047, allocations: 8.031 kB / 0.987 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/0.00613, allocations: 52.7 kB / 0.987 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.006394, allocations: 256 kB / 0.9873 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.00643, allocations: 16.38 kB / 0.9873 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.006475, allocations: 28.36 kB / 0.9873 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.006989, allocations: 233.9 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.006997, allocations: 4.172 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.007015, allocations: 384 / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.007021, allocations: 4.375 kB / 0.9875 GB, free: 12.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.007384, allocations: 111.9 kB / 0.9876 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.007631, allocations: 285 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.008139, allocations: 190.4 kB / 0.9881 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.008484, allocations: 120.8 kB / 0.9882 GB, free: 11.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.008506, allocations: 0 / 0.9882 GB, free: 11.76 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004493/0.008955, allocations: 243 kB / 0.9884 GB, free: 11.51 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.008956, allocations: 0 / 0.9884 GB, free: 11.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.001222/0.01018, allocations: 0.5275 MB / 0.9889 GB, free: 10.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.01021, allocations: 59.39 kB / 0.989 GB, free: 10.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.01047, allocations: 413.9 kB / 0.9894 GB, free: 10.49 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.0105, allocations: 41.69 kB / 0.9894 GB, free: 10.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.01055, allocations: 97.44 kB / 0.9895 GB, free: 10.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.01058, allocations: 35.75 kB / 0.9896 GB, free: 10.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.0107, allocations: 129.5 kB / 0.9897 GB, free: 10.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.01077, allocations: 322.8 kB / 0.99 GB, free: 9.852 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.01096, allocations: 203.2 kB / 0.9902 GB, free: 9.641 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.01117, allocations: 241.3 kB / 0.9904 GB, free: 9.371 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.0114, allocations: 265.3 kB / 0.9907 GB, free: 9.078 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01141, allocations: 4 kB / 0.9907 GB, free: 9.074 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000516/0.01192, allocations: 0.568 MB / 0.9912 GB, free: 8.477 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.01197, allocations: 83.38 kB / 0.9913 GB, free: 8.383 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01198, allocations: 0 / 0.9913 GB, free: 8.383 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.01199, allocations: 4 kB / 0.9913 GB, free: 8.379 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.01209, allocations: 27.91 kB / 0.9913 GB, free: 8.352 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.0121, allocations: 3.938 kB / 0.9913 GB, free: 8.348 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.01233, allocations: 72.03 kB / 0.9914 GB, free: 8.277 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.01238, allocations: 55.98 kB / 0.9915 GB, free: 8.223 MB / 0.948 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.0001387/0.01252, allocations: 203.6 kB / 0.9917 GB, free: 8.016 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.01256, allocations: 39.75 kB / 0.9917 GB, free: 7.977 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.0126, allocations: 39.69 kB / 0.9917 GB, free: 7.938 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.0126, allocations: 4 kB / 0.9917 GB, free: 7.934 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.0126, allocations: 0 / 0.9917 GB, free: 7.934 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01261, allocations: 3.938 kB / 0.9917 GB, free: 7.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.01374, allocations: 0.7089 MB / 0.9924 GB, free: 7.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01374, allocations: 0 / 0.9924 GB, free: 7.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.01376, allocations: 4 kB / 0.9924 GB, free: 7.176 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01376, allocations: 4 kB / 0.9924 GB, free: 7.172 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.01378, allocations: 27.91 kB / 0.9925 GB, free: 7.145 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01379, allocations: 4 kB / 0.9925 GB, free: 7.141 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01379, allocations: 0 / 0.9925 GB, free: 7.141 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008639/0.01465, allocations: 0.4957 MB / 0.993 GB, free: 6.629 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.01481, allocations: 129.5 kB / 0.9931 GB, free: 6.504 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.01485, allocations: 23.92 kB / 0.9931 GB, free: 6.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.01508, allocations: 35.97 kB / 0.9931 GB, free: 6.445 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.0151, allocations: 11.92 kB / 0.9932 GB, free: 6.434 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.01514, allocations: 63.97 kB / 0.9932 GB, free: 6.371 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001772/0.01532, allocations: 295 kB / 0.9935 GB, free: 6.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01532, allocations: 4 kB / 0.9935 GB, free: 6.086 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002079/0.01553, allocations: 60 kB / 0.9936 GB, free: 6.027 MB / 0.948 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.23e-05/0.01562, allocations: 123.7 kB / 0.9937 GB, free: 5.898 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006876/0.01631, allocations: 492.4 kB / 0.9941 GB, free: 5.383 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01631, allocations: 0 / 0.9941 GB, free: 5.383 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.01666, allocations: 120.3 kB / 0.9943 GB, free: 5.266 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.0169, allocations: 41.56 kB / 0.9943 GB, free: 5.223 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/0.01771, allocations: 0.618 MB / 0.9949 GB, free: 4.566 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.01781, allocations: 163 kB / 0.9951 GB, free: 4.391 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.01785, allocations: 12.5 kB / 0.9951 GB, free: 4.379 MB / 0.948 GB Notification: Performance of SimCode: time 3.7e-07/0.01785, allocations: 4 kB / 0.9951 GB, free: 4.375 MB / 0.948 GB Notification: Performance of Templates: time 0.003522/0.02137, allocations: 3.694 MB / 0.9987 GB, free: 0.6328 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.668836630880833]