Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001083/0.001083, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001187/0.001187, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.278/1.278, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] 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.46/2.46, allocations: 476.7 MB / 0.7628 GB, free: 15.25 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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 63.89 kB / 1.107 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7518/0.7535, allocations: 168.7 MB / 1.271 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002121/0.7557, allocations: 1.544 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.7567, allocations: 0.5415 MB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.7568, allocations: 0.6875 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.577e-05/0.7568, allocations: 10.42 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.143e-05/0.7569, allocations: 23.02 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.7576, allocations: 322 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.758, allocations: 487.7 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.758, allocations: 5.531 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.7583, allocations: 273 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.7586, allocations: 147.3 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.048e-05/0.7587, allocations: 26.88 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.685e-05/0.7588, allocations: 26.94 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.7589, allocations: 125.7 kB / 1.275 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.7591, allocations: 181.8 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.7594, allocations: 427.5 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7594, allocations: 0 / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7595, allocations: 0 / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.7595, allocations: 1.188 kB / 1.275 GB, free: 5.531 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.001033/0.7605, allocations: 0.8685 MB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.7605, allocations: 10.34 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.7606, allocations: 39.45 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.7607, allocations: 56.14 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.7609, allocations: 322.8 kB / 1.277 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.761, allocations: 11 kB / 1.277 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.944e-05/0.7611, allocations: 28.61 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.762, allocations: 209.9 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.762, allocations: 3.938 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.762, allocations: 6.875 kB / 1.277 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.7621, allocations: 1.125 kB / 1.277 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/0.7628, allocations: 104.2 kB / 1.277 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.7632, allocations: 388.7 kB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.7642, allocations: 175.2 kB / 1.277 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007558/0.765, allocations: 98.78 kB / 1.278 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.765, allocations: 2.391 kB / 1.278 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009229/0.7659, allocations: 228.4 kB / 1.278 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.7659, allocations: 0 / 1.278 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.00258/0.7685, allocations: 0.4894 MB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.7685, allocations: 58.06 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.7689, allocations: 411.2 kB / 1.279 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.769, allocations: 40.16 kB / 1.279 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.7691, allocations: 99.3 kB / 1.279 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.7691, allocations: 40.75 kB / 1.279 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.7693, allocations: 123.9 kB / 1.279 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.7693, allocations: 320.7 kB / 1.279 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.7696, allocations: 121.5 kB / 1.279 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.7699, allocations: 173.5 kB / 1.28 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.7702, allocations: 277.4 kB / 1.28 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7702, allocations: 0.5 kB / 1.28 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000726/0.7709, allocations: 497.1 kB / 1.28 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/0.771, allocations: 92.81 kB / 1.28 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.771, allocations: 2.125 kB / 1.28 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.771, allocations: 2.094 kB / 1.28 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.7712, allocations: 24.25 kB / 1.28 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.7712, allocations: 5.672 kB / 1.28 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.7717, allocations: 60.2 kB / 1.281 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.7717, allocations: 61.61 kB / 1.281 GB, free: 2.367 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.0001719/0.7719, allocations: 202.1 kB / 1.281 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.772, allocations: 39.67 kB / 1.281 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.772, allocations: 42.95 kB / 1.281 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.772, allocations: 3.344 kB / 1.281 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.772, allocations: 4 kB / 1.281 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.772, allocations: 1.406 kB / 1.281 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.774, allocations: 0.7385 MB / 1.282 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.774, allocations: 0 / 1.282 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.7741, allocations: 9.031 kB / 1.282 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.7741, allocations: 4.266 kB / 1.282 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.7741, allocations: 19.73 kB / 1.282 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.7741, allocations: 3.391 kB / 1.282 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7741, allocations: 0 / 1.282 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.7757, allocations: 475.3 kB / 1.282 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.7759, allocations: 208.2 kB / 1.282 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.776, allocations: 10.45 kB / 1.282 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.7764, allocations: 29.39 kB / 1.282 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.7765, allocations: 17 kB / 1.282 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.7765, allocations: 59.39 kB / 1.282 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002324/0.7768, allocations: 293.1 kB / 1.283 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.7768, allocations: 0 / 1.283 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003222/0.7771, allocations: 65.47 kB / 1.283 GB, free: 1.266 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.001817/0.7789, allocations: 1.03 MB / 1.284 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.78, allocations: 408.3 kB / 1.284 GB, free: 328 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.78, allocations: 3.938 kB / 1.284 GB, free: 324 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.7808, allocations: 109.4 kB / 1.284 GB, free: 308 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.7811, allocations: 32.7 kB / 1.284 GB, free: 292 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.785, allocations: 2.805 MB / 1.287 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.7854, allocations: 0.7723 MB / 1.288 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.676e-05/0.7855, allocations: 10.64 kB / 1.288 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.7855, allocations: 25.02 kB / 1.288 GB, free: 13.69 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/0.7855, allocations: 0 / 1.288 GB, free: 13.69 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.8135, allocations: 6.147 MB / 1.294 GB, free: 12.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.927, allocations: 6.438 kB / 1.294 GB, free: 12.54 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.095041983999181]