Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.0008762/0.0008762, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.000958/0.000958, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8888/0.8888, allocations: 177.2 MB / 203.5 MB, free: 5.719 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.752/1.752, allocations: 389 MB / 0.6338 GB, free: 12.66 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 3.938 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.35e-05, allocations: 6.219 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001823/0.001847, allocations: 1.525 MB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.002877, allocations: 0.5234 MB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.002931, allocations: 4 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.072e-05/0.003012, allocations: 7.875 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.003114, allocations: 35.56 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.003739, allocations: 326.7 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.004107, allocations: 483.4 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.004142, allocations: 0 / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.004471, allocations: 363.6 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.004662, allocations: 127.7 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.004708, allocations: 28 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.004752, allocations: 24 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.004842, allocations: 119.7 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.004941, allocations: 131.7 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.005306, allocations: 462.7 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005308, allocations: 4 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.392e-06/0.005309, allocations: 0 / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.005315, allocations: 0 / 1.005 GB, free: 8.898 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.0008695/0.006184, allocations: 0.795 MB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.006217, allocations: 12.75 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.622e-05/0.006303, allocations: 52.66 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.006554, allocations: 260 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.006591, allocations: 16.38 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.006639, allocations: 36.3 kB / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006799/0.007319, allocations: 230 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.007327, allocations: 192 / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.007348, allocations: 4.312 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.007355, allocations: 4.375 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.007728, allocations: 119.9 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.007985, allocations: 273.1 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.008508, allocations: 182.5 kB / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.008862, allocations: 116.8 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.008881, allocations: 0 / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004958/0.009377, allocations: 243 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.009378, allocations: 4 kB / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.001286/0.01066, allocations: 0.5167 MB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.0107, allocations: 63.41 kB / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.01097, allocations: 413.8 kB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.01101, allocations: 41.69 kB / 1.008 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.01106, allocations: 101.4 kB / 1.008 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.0111, allocations: 39.72 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.01121, allocations: 133.4 kB / 1.008 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.01129, allocations: 318.8 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.0115, allocations: 195.3 kB / 1.009 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.01171, allocations: 253.2 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.01196, allocations: 275.3 kB / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01196, allocations: 0 / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005289/0.01249, allocations: 0.5567 MB / 1.01 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.01254, allocations: 79.38 kB / 1.01 GB, free: 3.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01255, allocations: 4 kB / 1.01 GB, free: 3.305 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.01256, allocations: 4.188 kB / 1.01 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01267, allocations: 23.97 kB / 1.01 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01267, allocations: 11.88 kB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.01291, allocations: 63.84 kB / 1.01 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.01297, allocations: 59.98 kB / 1.01 GB, free: 3.145 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.0001474/0.01312, allocations: 195.7 kB / 1.01 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.01315, allocations: 39.77 kB / 1.01 GB, free: 2.906 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/0.0132, allocations: 39.69 kB / 1.01 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.0132, allocations: 4 kB / 1.01 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.0132, allocations: 0 / 1.01 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.01321, allocations: 7.922 kB / 1.01 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.01436, allocations: 0.7073 MB / 1.011 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01436, allocations: 0 / 1.011 GB, free: 2.109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.01438, allocations: 11.92 kB / 1.011 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01439, allocations: 4 kB / 1.011 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.01441, allocations: 23.91 kB / 1.011 GB, free: 2.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01441, allocations: 3.938 kB / 1.011 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01441, allocations: 0 / 1.011 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008547/0.01527, allocations: 0.5073 MB / 1.012 GB, free: 1.543 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.01543, allocations: 125.6 kB / 1.012 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.01547, allocations: 19.92 kB / 1.012 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.01569, allocations: 31.97 kB / 1.012 GB, free: 1.367 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.01572, allocations: 11.98 kB / 1.012 GB, free: 1.355 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.01576, allocations: 59.97 kB / 1.012 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001956/0.01596, allocations: 299.1 kB / 1.012 GB, free: 1.008 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01596, allocations: 0 / 1.012 GB, free: 1.008 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002359/0.0162, allocations: 63.98 kB / 1.012 GB, free: 0.9453 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 0.0001066/0.0163, allocations: 115.2 kB / 1.012 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007081/0.01701, allocations: 498.1 kB / 1.013 GB, free: 308 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01701, allocations: 0 / 1.013 GB, free: 308 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.01751, allocations: 125.9 kB / 1.013 GB, free: 184 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.01775, allocations: 27.61 kB / 1.013 GB, free: 160 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008745/0.01863, allocations: 0.6129 MB / 1.014 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.01874, 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.802e-05/0.01877, allocations: 20.44 kB / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of SimCode: time 4.71e-07/0.01878, allocations: 0 / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.004002/0.02278, allocations: 3.682 MB / 1.017 GB, free: 11.56 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 6.744899780489504]