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.001843/0.001843, allocations: 109 kB / 16.46 MB, free: 6.504 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.002089/0.002089, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.846/2.846, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 176] 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.00202/0.00202, allocations: 64.12 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9339/0.936, allocations: 168.7 MB / 1.269 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003291/0.9393, allocations: 1.519 MB / 1.27 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.9407, allocations: 0.5462 MB / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.78e-05/0.9408, allocations: 0 / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.96e-05/0.9409, allocations: 11.86 kB / 1.271 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.941, allocations: 31.84 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009765/0.942, allocations: 306.8 kB / 1.271 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006865/0.9427, allocations: 487.3 kB / 1.272 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.9427, allocations: 4 kB / 1.272 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.9432, allocations: 275.6 kB / 1.272 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.9436, allocations: 151.4 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.611e-05/0.9437, allocations: 31.94 kB / 1.272 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.9438, allocations: 24 kB / 1.272 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.9439, allocations: 119.6 kB / 1.272 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.9442, allocations: 187 kB / 1.272 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005245/0.9447, allocations: 428.2 kB / 1.273 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.9447, allocations: 0 / 1.273 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.515e-06/0.9447, allocations: 0 / 1.273 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.9447, allocations: 0 / 1.273 GB, free: 1.195 MB / 0.9669 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.001515/0.9462, allocations: 0.8781 MB / 1.274 GB, free: 232 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9463, allocations: 12.03 kB / 1.274 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.784e-05/0.9463, allocations: 34.75 kB / 1.274 GB, free: 176 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.9465, allocations: 56.7 kB / 1.274 GB, free: 120 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.947, allocations: 310.6 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.9471, allocations: 20.3 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.9472, allocations: 32.36 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.9481, allocations: 206 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.9481, allocations: 3.938 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.9481, allocations: 7.984 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.9481, allocations: 4 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006841/0.9488, allocations: 99.91 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.9494, allocations: 393.2 kB / 1.275 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009481/0.9503, allocations: 166.4 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006742/0.951, allocations: 104.8 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.951, allocations: 3.984 kB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009376/0.952, allocations: 226 kB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.952, allocations: 4 kB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002402/0.9544, allocations: 489 kB / 1.276 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.9544, allocations: 67.28 kB / 1.276 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.9549, allocations: 405.9 kB / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.156e-05/0.955, allocations: 41.69 kB / 1.276 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.9551, allocations: 103 kB / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.9551, allocations: 39.75 kB / 1.276 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.9553, allocations: 129.4 kB / 1.276 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.9555, allocations: 322.8 kB / 1.277 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.9558, allocations: 115.9 kB / 1.277 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.9561, allocations: 170.4 kB / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.9565, allocations: 277.2 kB / 1.277 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.9565, allocations: 0 / 1.277 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00091/0.9574, allocations: 0.4906 MB / 1.278 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.449e-05/0.9575, allocations: 87.31 kB / 1.278 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.9575, allocations: 4 kB / 1.278 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.9575, allocations: 0 / 1.278 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.9577, allocations: 27.92 kB / 1.278 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.9577, allocations: 7.984 kB / 1.278 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.9582, allocations: 60.03 kB / 1.278 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.9583, allocations: 59.98 kB / 1.278 GB, free: 11.47 MB / 0.9825 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.0002727/0.9586, allocations: 195.9 kB / 1.278 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.9586, allocations: 43.69 kB / 1.278 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.9587, allocations: 39.75 kB / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.9587, allocations: 4 kB / 1.278 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.9587, allocations: 4 kB / 1.278 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9587, allocations: 0 / 1.278 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.9609, allocations: 0.7443 MB / 1.279 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.961, allocations: 4 kB / 1.279 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.961, allocations: 4 kB / 1.279 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.961, allocations: 4 kB / 1.279 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.961, allocations: 23.97 kB / 1.279 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.961, allocations: 0 / 1.279 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9611, allocations: 0 / 1.279 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.9627, allocations: 481 kB / 1.279 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.9631, allocations: 200.6 kB / 1.28 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.9632, allocations: 12 kB / 1.28 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.9636, allocations: 35.95 kB / 1.28 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.9637, allocations: 7.984 kB / 1.28 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.123e-05/0.9637, allocations: 63.97 kB / 1.28 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003747/0.9641, allocations: 295.1 kB / 1.28 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9641, allocations: 3.938 kB / 1.28 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004762/0.9646, allocations: 63.98 kB / 1.28 GB, free: 9.176 MB / 0.9825 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.00219/0.9668, allocations: 1.026 MB / 1.281 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.9682, allocations: 406.6 kB / 1.281 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9682, allocations: 0 / 1.281 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007193/0.9689, allocations: 119.8 kB / 1.282 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.9693, allocations: 21.55 kB / 1.282 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.9741, allocations: 2.81 MB / 1.284 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.9746, allocations: 0.7669 MB / 1.285 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.851e-05/0.9747, allocations: 13.08 kB / 1.285 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.391e-05/0.9747, allocations: 23.42 kB / 1.285 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of SimCode: time 9.62e-07/0.9747, allocations: 4 kB / 1.285 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/1.006, allocations: 6.131 MB / 1.291 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/9.223, allocations: 6.484 kB / 1.291 GB, free: 13.65 MB / 0.9981 GB " [Timeout remaining time 291] (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 --stepSize=69.12 --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_2/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: 15.487434586975724]