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.001371/0.001371, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001602/0.001602, allocations: 209.1 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 3.499/3.499, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 71.98 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3567, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003292/0.36, allocations: 1.557 MB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3614, allocations: 0.5423 MB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.3615, allocations: 0 / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.3616, allocations: 15.86 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.3617, allocations: 27.64 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009964/0.3627, allocations: 328.3 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006862/0.3634, allocations: 483.4 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.3635, allocations: 8 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004822/0.3639, allocations: 275.7 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.3643, allocations: 151.6 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.615e-05/0.3644, allocations: 24 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.742e-05/0.3645, allocations: 28 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.3646, allocations: 119.7 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.3648, allocations: 187 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004905/0.3653, allocations: 426.6 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3653, allocations: 3.984 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3653, allocations: 0 / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.3653, allocations: 0 / 1.357 GB, free: 4.344 MB / 1.045 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.001378/0.3667, allocations: 0.7989 MB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3667, allocations: 12.03 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.765e-05/0.3668, allocations: 42.73 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.3669, allocations: 52.7 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.3674, allocations: 252.8 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/0.3675, allocations: 12.38 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.3675, allocations: 32.36 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009817/0.3685, allocations: 213.9 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3685, allocations: 3.938 kB / 1.358 GB, free: 2.828 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.3686, allocations: 4 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.3686, allocations: 4 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007276/0.3693, allocations: 99.92 kB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.3698, allocations: 356.3 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009976/0.3708, allocations: 174.6 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.3715, allocations: 100.8 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3715, allocations: 3.984 kB / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009529/0.3725, allocations: 231 kB / 1.359 GB, free: 1.809 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.3725, allocations: 0 / 1.359 GB, free: 1.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002472/0.375, allocations: 487.8 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.375, allocations: 55.41 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.3755, allocations: 417.9 kB / 1.36 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.37e-05/0.3756, allocations: 45.62 kB / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3757, allocations: 97.45 kB / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.3758, allocations: 39.69 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.376, allocations: 125.5 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3762, allocations: 322.8 kB / 1.361 GB, free: 208 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/0.3765, allocations: 115.9 kB / 1.361 GB, free: 92 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.3768, allocations: 181.8 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.3772, allocations: 271.2 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.3772, allocations: 4 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008814/0.3781, allocations: 492.6 kB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.747e-05/0.3782, allocations: 91.31 kB / 1.362 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.3782, allocations: 11.92 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3782, allocations: 4 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.3784, allocations: 19.92 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3784, allocations: 4 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.3789, allocations: 60.03 kB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.186e-05/0.379, allocations: 63.98 kB / 1.362 GB, free: 14.83 MB / 1.061 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.0002516/0.3792, allocations: 199.6 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.175e-05/0.3793, allocations: 43.66 kB / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.3794, allocations: 39.69 kB / 1.362 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3794, allocations: 4 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3794, allocations: 4 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3794, allocations: 3.984 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.3816, allocations: 0.7122 MB / 1.363 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3816, allocations: 4 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.3817, allocations: 4 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3817, allocations: 0 / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.3817, allocations: 23.97 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3817, allocations: 0 / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3817, allocations: 0 / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.3834, allocations: 481 kB / 1.363 GB, free: 13.24 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.3837, allocations: 137.5 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/0.3838, allocations: 11.98 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004684/0.3843, allocations: 27.97 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.3843, allocations: 15.92 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/0.3844, allocations: 63.97 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003137/0.3847, allocations: 291.1 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3847, allocations: 0 / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003688/0.3851, allocations: 67.98 kB / 1.364 GB, free: 12.64 MB / 1.061 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.002047/0.3871, allocations: 1.02 MB / 1.365 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.3884, allocations: 410.5 kB / 1.365 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3884, allocations: 0 / 1.365 GB, free: 11.17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.3891, allocations: 111.8 kB / 1.365 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3895, allocations: 29.89 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004817/0.3943, allocations: 2.785 MB / 1.368 GB, free: 8.117 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.3948, allocations: 0.7747 MB / 1.369 GB, free: 7.316 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.503e-05/0.3948, allocations: 9.094 kB / 1.369 GB, free: 7.309 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.3949, allocations: 23.42 kB / 1.369 GB, free: 7.285 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.3949, allocations: 0 / 1.369 GB, free: 7.285 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.4301, allocations: 6.336 MB / 1.375 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.79, allocations: 8.484 kB / 1.375 GB, free: 0.9766 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/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: 18.833162993891165]