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.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.00165/0.00165, allocations: 110 kB / 18.94 MB, free: 2.789 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.001617/0.001617, allocations: 192.1 kB / 22.23 MB, free: 5.234 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.448/1.448, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.199/3.199, allocations: 0.4893 GB / 0.7884 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.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 0.002011/0.002011, allocations: 63.78 kB / 1.145 GB, free: 30.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4235, allocations: 174.9 MB / 1.316 GB, free: 9.773 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003175/0.4267, allocations: 1.537 MB / 1.317 GB, free: 8.227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.4281, allocations: 0.5408 MB / 1.318 GB, free: 7.688 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.4282, allocations: 0 / 1.318 GB, free: 7.688 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.4283, allocations: 15.8 kB / 1.318 GB, free: 7.672 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.4284, allocations: 23.86 kB / 1.318 GB, free: 7.648 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008494/0.4293, allocations: 318 kB / 1.318 GB, free: 7.34 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006229/0.4299, allocations: 483.5 kB / 1.319 GB, free: 6.867 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.43, allocations: 8 kB / 1.319 GB, free: 6.859 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004378/0.4304, allocations: 283.6 kB / 1.319 GB, free: 6.582 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.4307, allocations: 155.4 kB / 1.319 GB, free: 6.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.4308, allocations: 24 kB / 1.319 GB, free: 6.406 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-05/0.4309, allocations: 28 kB / 1.319 GB, free: 6.379 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.4311, allocations: 115.7 kB / 1.319 GB, free: 6.266 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002509/0.4313, allocations: 187 kB / 1.32 GB, free: 6.082 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.4319, allocations: 426.4 kB / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.4319, allocations: 3.938 kB / 1.32 GB, free: 5.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4319, allocations: 0 / 1.32 GB, free: 5.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.432, allocations: 4 kB / 1.32 GB, free: 5.656 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.001514/0.4335, allocations: 0.8028 MB / 1.321 GB, free: 4.781 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4335, allocations: 12.03 kB / 1.321 GB, free: 4.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.4337, allocations: 52.69 kB / 1.321 GB, free: 4.719 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.4341, allocations: 252.7 kB / 1.321 GB, free: 4.449 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.4342, allocations: 24.34 kB / 1.321 GB, free: 4.426 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.4342, allocations: 28.36 kB / 1.321 GB, free: 4.398 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.4353, allocations: 210 kB / 1.321 GB, free: 4.188 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4354, allocations: 192 / 1.321 GB, free: 4.188 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.4354, allocations: 7.938 kB / 1.321 GB, free: 4.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4354, allocations: 3.938 kB / 1.321 GB, free: 4.176 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008611/0.4363, allocations: 103.8 kB / 1.321 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.4368, allocations: 360.4 kB / 1.322 GB, free: 3.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.4379, allocations: 158.5 kB / 1.322 GB, free: 3.516 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008214/0.4388, allocations: 104.8 kB / 1.322 GB, free: 3.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.4388, allocations: 7.984 kB / 1.322 GB, free: 3.402 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.4399, allocations: 217.8 kB / 1.322 GB, free: 3.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.983e-06/0.4399, allocations: 7.938 kB / 1.322 GB, free: 3.172 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002925/0.4428, allocations: 489 kB / 1.323 GB, free: 2.688 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.4429, allocations: 63.41 kB / 1.323 GB, free: 2.613 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.4434, allocations: 405.9 kB / 1.323 GB, free: 2.203 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.898e-05/0.4435, allocations: 45.69 kB / 1.323 GB, free: 2.152 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.4436, allocations: 97.39 kB / 1.323 GB, free: 2.055 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.4436, allocations: 39.73 kB / 1.323 GB, free: 2.016 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.4438, allocations: 125.5 kB / 1.323 GB, free: 1.887 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.444, allocations: 322.8 kB / 1.324 GB, free: 1.562 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.4443, allocations: 119.9 kB / 1.324 GB, free: 1.445 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.4446, allocations: 178.5 kB / 1.324 GB, free: 1.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.4451, allocations: 282.5 kB / 1.324 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4451, allocations: 3.938 kB / 1.324 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009095/0.446, allocations: 494.4 kB / 1.325 GB, free: 448 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-05/0.4461, allocations: 87.31 kB / 1.325 GB, free: 348 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4461, allocations: 0 / 1.325 GB, free: 348 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.4461, allocations: 8.188 kB / 1.325 GB, free: 340 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.4463, allocations: 27.98 kB / 1.325 GB, free: 312 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.4463, allocations: 11.91 kB / 1.325 GB, free: 300 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.4468, allocations: 59.84 kB / 1.325 GB, free: 240 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.846e-05/0.4469, allocations: 55.98 kB / 1.325 GB, free: 184 kB / 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.0002983/0.4472, allocations: 195.9 kB / 1.325 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.4473, allocations: 39.7 kB / 1.325 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.4474, allocations: 43.61 kB / 1.325 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.4474, allocations: 3.938 kB / 1.325 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.4474, allocations: 0 / 1.325 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4474, allocations: 7.984 kB / 1.325 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.4498, allocations: 0.7146 MB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4498, allocations: 0 / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.4499, allocations: 11.92 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4499, allocations: 0 / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.4499, allocations: 19.98 kB / 1.326 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.4499, allocations: 4 kB / 1.326 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4499, allocations: 3.984 kB / 1.326 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.4518, allocations: 471.4 kB / 1.327 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.4522, allocations: 137.5 kB / 1.327 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/0.4523, allocations: 16 kB / 1.327 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.4528, allocations: 35.95 kB / 1.327 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4528, allocations: 7.984 kB / 1.327 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-05/0.4529, allocations: 55.98 kB / 1.327 GB, free: 14.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003585/0.4532, allocations: 295.1 kB / 1.327 GB, free: 14.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4532, allocations: 0 / 1.327 GB, free: 14.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003925/0.4536, allocations: 63.98 kB / 1.327 GB, free: 14.01 MB / 1.029 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.0001899/0.4538, allocations: 128.2 kB / 1.327 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.4552, allocations: 402.5 kB / 1.328 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4552, allocations: 0 / 1.328 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008382/0.456, allocations: 122.3 kB / 1.328 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.4565, allocations: 25.58 kB / 1.328 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.4581, allocations: 0.5469 MB / 1.328 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.4585, allocations: 0.7746 MB / 1.329 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.798e-05/0.4586, allocations: 17.08 kB / 1.329 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.4586, allocations: 15.44 kB / 1.329 GB, free: 11.91 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4586, allocations: 0 / 1.329 GB, free: 11.91 MB / 1.029 GB Notification: Performance of Templates: time 0.01011/0.4688, allocations: 5.032 MB / 1.334 GB, free: 6.777 MB / 1.029 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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.265232007019222]