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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 496.1 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001999/0.001999, allocations: 71.89 kB / 1.136 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 173.6 MB / 1.305 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002933/1.074, allocations: 1.541 MB / 1.307 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001387/1.075, allocations: 0.5464 MB / 1.307 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/1.075, allocations: 1.125 kB / 1.307 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/1.076, allocations: 10.03 kB / 1.307 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/1.076, allocations: 27.14 kB / 1.307 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008761/1.077, allocations: 304 kB / 1.308 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006182/1.077, allocations: 492 kB / 1.308 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/1.077, allocations: 3.766 kB / 1.308 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/1.078, allocations: 275 kB / 1.308 GB, free: 14.85 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/1.078, allocations: 148.2 kB / 1.309 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.937e-05/1.078, allocations: 25.94 kB / 1.309 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.055e-05/1.078, allocations: 27.09 kB / 1.309 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001641/1.078, allocations: 113.9 kB / 1.309 GB, free: 14.76 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002208/1.079, allocations: 189.7 kB / 1.309 GB, free: 14.65 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005509/1.079, allocations: 423.7 kB / 1.309 GB, free: 14.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.079, allocations: 4 kB / 1.309 GB, free: 14.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.213e-06/1.079, allocations: 1.062 kB / 1.309 GB, free: 14.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.186e-06/1.079, allocations: 0 / 1.309 GB, free: 14.5 MB / 1.014 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.001427/1.08, allocations: 0.8732 MB / 1.31 GB, free: 13.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/1.081, allocations: 9.469 kB / 1.31 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/1.081, allocations: 59.27 kB / 1.31 GB, free: 13.72 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/1.081, allocations: 313 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/1.081, allocations: 18.61 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/1.081, allocations: 32.86 kB / 1.311 GB, free: 13.44 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/1.082, allocations: 207.3 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.082, allocations: 1.562 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/1.082, allocations: 9.062 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.082, allocations: 1.438 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007299/1.083, allocations: 112.9 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/1.084, allocations: 387.4 kB / 1.311 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.085, allocations: 164.7 kB / 1.311 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007034/1.085, allocations: 104.1 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/1.085, allocations: 1.984 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009644/1.086, allocations: 236.9 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/1.086, allocations: 0 / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002521/1.089, allocations: 488.6 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/1.089, allocations: 60.86 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/1.089, allocations: 412.5 kB / 1.313 GB, free: 12.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.178e-05/1.089, allocations: 41.69 kB / 1.313 GB, free: 12.33 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/1.09, allocations: 96.5 kB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/1.09, allocations: 38.44 kB / 1.313 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/1.09, allocations: 122.9 kB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.09, allocations: 329.4 kB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/1.09, allocations: 117.1 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/1.091, allocations: 170.1 kB / 1.314 GB, free: 11.65 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/1.091, allocations: 275.3 kB / 1.314 GB, free: 11.44 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.091, allocations: 0 / 1.314 GB, free: 11.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009509/1.092, allocations: 497.5 kB / 1.314 GB, free: 11.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/1.092, allocations: 100.5 kB / 1.314 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.092, allocations: 1.312 kB / 1.314 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/1.092, allocations: 2.094 kB / 1.314 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/1.092, allocations: 18.73 kB / 1.314 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/1.092, allocations: 7.25 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/1.093, allocations: 61.84 kB / 1.315 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.093, allocations: 64.59 kB / 1.315 GB, free: 11.04 MB / 1.014 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.0002996/1.093, allocations: 189.8 kB / 1.315 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/1.093, allocations: 41.2 kB / 1.315 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.298e-05/1.094, allocations: 43.42 kB / 1.315 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.094, allocations: 6.281 kB / 1.315 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.094, allocations: 0 / 1.315 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.094, allocations: 1.188 kB / 1.315 GB, free: 10.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/1.096, allocations: 0.7421 MB / 1.316 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.096, allocations: 0 / 1.316 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/1.096, allocations: 12.83 kB / 1.316 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.096, allocations: 0 / 1.316 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/1.096, allocations: 23.7 kB / 1.316 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.096, allocations: 5.125 kB / 1.316 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.096, allocations: 0 / 1.316 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/1.098, allocations: 477.1 kB / 1.316 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/1.098, allocations: 207.6 kB / 1.316 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/1.098, allocations: 13.45 kB / 1.316 GB, free: 9.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/1.098, allocations: 27.59 kB / 1.316 GB, free: 9.832 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/1.098, allocations: 12.23 kB / 1.316 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/1.099, allocations: 53.61 kB / 1.316 GB, free: 9.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003551/1.099, allocations: 297.5 kB / 1.317 GB, free: 9.637 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.099, allocations: 0 / 1.317 GB, free: 9.637 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004918/1.099, allocations: 66.77 kB / 1.317 GB, free: 9.629 MB / 1.014 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.0001771/1.1, allocations: 121.9 kB / 1.317 GB, free: 9.52 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001276/1.101, allocations: 404.4 kB / 1.317 GB, free: 9.273 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.101, allocations: 384 / 1.317 GB, free: 9.273 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007231/1.102, allocations: 120.1 kB / 1.317 GB, free: 9.227 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/1.102, allocations: 29.08 kB / 1.317 GB, free: 9.207 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/1.104, allocations: 0.5601 MB / 1.318 GB, free: 8.848 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/1.104, allocations: 0.7752 MB / 1.319 GB, free: 8.105 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.659e-05/1.104, allocations: 12.95 kB / 1.319 GB, free: 8.098 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/1.104, allocations: 13.94 kB / 1.319 GB, free: 8.09 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/1.104, allocations: 0 / 1.319 GB, free: 8.09 MB / 1.014 GB Notification: Performance of Templates: time 0.01067/1.115, allocations: 5 MB / 1.324 GB, free: 5.336 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.402166781015694]