Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001921/0.001921, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.002187/0.002187, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.453/1.453, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.89 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.125, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002692/1.128, allocations: 1.54 MB / 1.273 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001287/1.129, allocations: 0.5361 MB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/1.129, allocations: 0 / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/1.129, allocations: 12.84 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/1.129, allocations: 30.2 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007581/1.13, allocations: 310.9 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000531/1.131, allocations: 480.7 kB / 1.275 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/1.131, allocations: 5.875 kB / 1.275 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003969/1.131, allocations: 273.4 kB / 1.275 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/1.131, allocations: 150.5 kB / 1.275 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/1.131, allocations: 26.75 kB / 1.275 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.308e-05/1.131, allocations: 30.72 kB / 1.275 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/1.132, allocations: 116.2 kB / 1.275 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/1.132, allocations: 184.8 kB / 1.276 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/1.132, allocations: 426.5 kB / 1.276 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/1.132, allocations: 3.938 kB / 1.276 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.345e-06/1.132, allocations: 1.25 kB / 1.276 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.752e-05/1.132, allocations: 0 / 1.276 GB, free: 5.703 MB / 0.9981 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.001375/1.134, allocations: 0.8732 MB / 1.277 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.134, allocations: 9.281 kB / 1.277 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/1.134, allocations: 55.78 kB / 1.277 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/1.134, allocations: 317.8 kB / 1.277 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/1.134, allocations: 16.58 kB / 1.277 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.14e-05/1.135, allocations: 31.25 kB / 1.277 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/1.136, allocations: 219.6 kB / 1.277 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.136, allocations: 192 / 1.277 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/1.136, allocations: 5.438 kB / 1.277 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.136, allocations: 1.156 kB / 1.277 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007124/1.136, allocations: 101.5 kB / 1.277 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/1.137, allocations: 379.4 kB / 1.278 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009699/1.138, allocations: 164 kB / 1.278 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006856/1.138, allocations: 107 kB / 1.278 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/1.138, allocations: 6.562 kB / 1.278 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/1.14, allocations: 225.4 kB / 1.278 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/1.14, allocations: 0 / 1.278 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002666/1.142, allocations: 492.6 kB / 1.279 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.142, allocations: 57.38 kB / 1.279 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/1.143, allocations: 419.8 kB / 1.279 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/1.143, allocations: 44.28 kB / 1.279 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/1.143, allocations: 95.19 kB / 1.279 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/1.143, allocations: 33.22 kB / 1.279 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/1.143, allocations: 127.6 kB / 1.28 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.838e-05/1.143, allocations: 321.8 kB / 1.28 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/1.143, allocations: 123.6 kB / 1.28 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/1.144, allocations: 175.1 kB / 1.28 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/1.144, allocations: 280.4 kB / 1.28 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.144, allocations: 0 / 1.28 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007499/1.145, allocations: 494.1 kB / 1.281 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/1.145, allocations: 93.02 kB / 1.281 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.145, allocations: 2.094 kB / 1.281 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.145, allocations: 6.266 kB / 1.281 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/1.145, allocations: 24.42 kB / 1.281 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/1.145, allocations: 7.594 kB / 1.281 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/1.146, allocations: 60.81 kB / 1.281 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.61e-05/1.146, allocations: 62.84 kB / 1.281 GB, free: 2.578 MB / 0.9981 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.0002117/1.146, allocations: 195.6 kB / 1.281 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/1.146, allocations: 40.5 kB / 1.281 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.651e-05/1.146, allocations: 42.5 kB / 1.281 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.146, allocations: 2.562 kB / 1.281 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.146, allocations: 0 / 1.281 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.146, allocations: 0.7969 kB / 1.281 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/1.148, allocations: 0.7482 MB / 1.282 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.148, allocations: 0.7969 kB / 1.282 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/1.148, allocations: 4.703 kB / 1.282 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/1.148, allocations: 0 / 1.282 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/1.148, allocations: 22.64 kB / 1.282 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/1.148, allocations: 6.766 kB / 1.282 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.148, allocations: 0 / 1.282 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/1.15, allocations: 480 kB / 1.283 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/1.151, allocations: 199.9 kB / 1.283 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/1.151, allocations: 14.73 kB / 1.283 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/1.151, allocations: 34.67 kB / 1.283 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/1.151, allocations: 11.22 kB / 1.283 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.152, allocations: 56.88 kB / 1.283 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004498/1.152, allocations: 300.3 kB / 1.283 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.152, allocations: 0 / 1.283 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000682/1.153, allocations: 65.36 kB / 1.283 GB, free: 1.48 MB / 0.9981 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.0001862/1.153, allocations: 122.1 kB / 1.283 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001348/1.154, allocations: 409.2 kB / 1.284 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.154, allocations: 0 / 1.284 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007277/1.155, allocations: 109.5 kB / 1.284 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/1.155, allocations: 29.83 kB / 1.284 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/1.157, allocations: 0.5748 MB / 1.284 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/1.157, allocations: 0.7672 MB / 1.285 GB, free: 128 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001049/1.157, allocations: 16.53 kB / 1.285 GB, free: 120 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/1.158, allocations: 19.86 kB / 1.285 GB, free: 108 kB / 0.9981 GB Notification: Performance of SimCode: time 1.783e-06/1.158, allocations: 0 / 1.285 GB, free: 108 kB / 0.9981 GB Notification: Performance of Templates: time 0.01171/1.169, allocations: 4.983 MB / 1.29 GB, free: 15.27 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.281439810059965]