Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001129/0.001129, 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.001196/0.001196, 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.8577/0.8577, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.761/1.761, 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.688e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001886/0.001912, allocations: 1.536 MB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009214/0.002834, allocations: 0.521 MB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.0029, allocations: 3.938 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.842e-05/0.002988, allocations: 7.922 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.003089, allocations: 31.58 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006837/0.003773, allocations: 329.7 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.004184, allocations: 483.4 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.004227, allocations: 8 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003423/0.00457, allocations: 363.5 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.004781, allocations: 131.7 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.322e-05/0.004835, allocations: 32 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.598e-05/0.00488, allocations: 28 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.004987, allocations: 119.7 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.005104, allocations: 131.7 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.005524, allocations: 454.8 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.00553, allocations: 0 / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.793e-06/0.005531, allocations: 0 / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.046e-06/0.005539, allocations: 0 / 1.005 GB, free: 8.875 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.001076/0.006615, allocations: 0.8028 MB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.006658, allocations: 8.75 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.468e-05/0.006752, allocations: 60.66 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.007049, allocations: 252 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.007088, allocations: 20.36 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.007134, allocations: 24.38 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.007678, allocations: 228.9 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.007686, allocations: 192 / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.007708, allocations: 4.375 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007713, allocations: 384 / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.008087, allocations: 131.8 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.008356, allocations: 277.1 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.008879, allocations: 178.4 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.009232, allocations: 120.8 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.009255, allocations: 4 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000519/0.009774, allocations: 235.1 kB / 1.007 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.009776, allocations: 4 kB / 1.007 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.001403/0.01118, allocations: 0.5189 MB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.01122, allocations: 71.33 kB / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.0115, allocations: 417.8 kB / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.01154, allocations: 41.64 kB / 1.008 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.01159, allocations: 93.44 kB / 1.008 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.01162, allocations: 35.8 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.01175, allocations: 129.4 kB / 1.008 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.01183, allocations: 322.8 kB / 1.009 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.01205, allocations: 191.3 kB / 1.009 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.01225, allocations: 245.3 kB / 1.009 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.0125, allocations: 275.7 kB / 1.009 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.0125, allocations: 0 / 1.009 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005528/0.01305, allocations: 0.5585 MB / 1.01 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.01311, allocations: 87.55 kB / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.01312, allocations: 4 kB / 1.01 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01313, allocations: 4 kB / 1.01 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.01324, allocations: 19.92 kB / 1.01 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.01324, allocations: 7.938 kB / 1.01 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.01349, allocations: 59.91 kB / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.01355, allocations: 67.97 kB / 1.01 GB, free: 3.125 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.0001598/0.01371, allocations: 203.6 kB / 1.01 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.01374, allocations: 35.77 kB / 1.01 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.01379, allocations: 39.69 kB / 1.01 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01379, allocations: 3.984 kB / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.0138, allocations: 0 / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.0138, allocations: 7.938 kB / 1.01 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.01499, allocations: 0.709 MB / 1.011 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.01499, allocations: 0 / 1.011 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.01501, allocations: 4 kB / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01501, allocations: 0 / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.01504, allocations: 23.91 kB / 1.011 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.01504, allocations: 8 kB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01504, allocations: 0 / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008796/0.01592, allocations: 0.509 MB / 1.012 GB, free: 1.523 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.01609, allocations: 137.4 kB / 1.012 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.01614, allocations: 11.94 kB / 1.012 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.01637, allocations: 35.97 kB / 1.012 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.0164, allocations: 11.98 kB / 1.012 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.01644, allocations: 59.97 kB / 1.012 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001962/0.01664, allocations: 295.1 kB / 1.012 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01664, allocations: 0 / 1.012 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002584/0.01689, allocations: 67.98 kB / 1.012 GB, free: 0.918 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.0001153/0.01701, allocations: 111.2 kB / 1.012 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007383/0.01775, allocations: 497.8 kB / 1.013 GB, free: 284 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01775, allocations: 0 / 1.013 GB, free: 284 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.01812, allocations: 127.8 kB / 1.013 GB, free: 156 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.01838, allocations: 29.62 kB / 1.013 GB, free: 128 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.0193, allocations: 0.6071 MB / 1.014 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.01941, allocations: 167 kB / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.01945, allocations: 20.48 kB / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of SimCode: time 7.31e-07/0.01946, allocations: 0 / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of Templates: time 0.003821/0.02328, allocations: 3.688 MB / 1.017 GB, free: 11.53 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.440968052484095]