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.001648/0.001648, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001859/0.001859, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.524/1.524, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.002/3.002, allocations: 497.2 MB / 0.7812 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 63.89 kB / 1.134 GB, free: 13.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 173.9 MB / 1.304 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002104/1.031, allocations: 1.525 MB / 1.305 GB, free: 31.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001014/1.032, allocations: 0.5601 MB / 1.306 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/1.033, allocations: 4 kB / 1.306 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.071e-05/1.033, allocations: 7.312 kB / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/1.033, allocations: 26.17 kB / 1.306 GB, free: 30.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/1.033, allocations: 310.8 kB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003548/1.034, allocations: 483.5 kB / 1.307 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/1.034, allocations: 6.688 kB / 1.307 GB, free: 30.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/1.034, allocations: 271.8 kB / 1.307 GB, free: 30.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/1.034, allocations: 155.3 kB / 1.307 GB, free: 30.4 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/1.034, allocations: 25.78 kB / 1.307 GB, free: 30.4 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.421e-05/1.034, allocations: 28.91 kB / 1.307 GB, free: 30.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/1.034, allocations: 118.4 kB / 1.307 GB, free: 30.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/1.035, allocations: 183.1 kB / 1.308 GB, free: 30.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/1.035, allocations: 427.1 kB / 1.308 GB, free: 30.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.035, allocations: 0 / 1.308 GB, free: 30.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.512e-06/1.035, allocations: 0 / 1.308 GB, free: 30.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.035, allocations: 0 / 1.308 GB, free: 30.09 MB / 1.061 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.000973/1.036, allocations: 0.8798 MB / 1.309 GB, free: 29.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/1.036, allocations: 8.438 kB / 1.309 GB, free: 29.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/1.036, allocations: 41.05 kB / 1.309 GB, free: 29.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.642e-05/1.036, allocations: 57.34 kB / 1.309 GB, free: 29.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/1.036, allocations: 318.2 kB / 1.309 GB, free: 29 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/1.036, allocations: 15.16 kB / 1.309 GB, free: 29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-05/1.037, allocations: 24.81 kB / 1.309 GB, free: 28.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008676/1.037, allocations: 219.4 kB / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.037, allocations: 3.938 kB / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/1.037, allocations: 0 / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/1.037, allocations: 3.094 kB / 1.309 GB, free: 28.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/1.038, allocations: 102.9 kB / 1.31 GB, free: 28.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/1.038, allocations: 388.8 kB / 1.31 GB, free: 28.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009152/1.039, allocations: 164.4 kB / 1.31 GB, free: 28.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/1.04, allocations: 105.6 kB / 1.31 GB, free: 28.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/1.04, allocations: 2.938 kB / 1.31 GB, free: 28.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000848/1.041, allocations: 230.3 kB / 1.31 GB, free: 28.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.512e-06/1.041, allocations: 4 kB / 1.31 GB, free: 28.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002265/1.043, allocations: 492.7 kB / 1.311 GB, free: 28.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/1.043, allocations: 57.19 kB / 1.311 GB, free: 28.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/1.043, allocations: 415.4 kB / 1.311 GB, free: 28.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/1.044, allocations: 39.64 kB / 1.311 GB, free: 28.06 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/1.044, allocations: 95.16 kB / 1.311 GB, free: 27.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/1.044, allocations: 37.75 kB / 1.311 GB, free: 27.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/1.044, allocations: 131.7 kB / 1.312 GB, free: 27.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.691e-05/1.044, allocations: 324.9 kB / 1.312 GB, free: 27.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/1.044, allocations: 124.5 kB / 1.312 GB, free: 27.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/1.044, allocations: 167.5 kB / 1.312 GB, free: 27.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/1.045, allocations: 275.9 kB / 1.312 GB, free: 27.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.045, allocations: 0 / 1.312 GB, free: 27.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006534/1.045, allocations: 489 kB / 1.313 GB, free: 27.03 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.025e-05/1.045, allocations: 95.75 kB / 1.313 GB, free: 26.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.045, allocations: 2.812 kB / 1.313 GB, free: 26.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/1.045, allocations: 6.75 kB / 1.313 GB, free: 26.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/1.045, allocations: 20.91 kB / 1.313 GB, free: 26.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.045, allocations: 6.078 kB / 1.313 GB, free: 26.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/1.046, allocations: 52.97 kB / 1.313 GB, free: 26.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/1.046, allocations: 63.05 kB / 1.313 GB, free: 26.93 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.0001813/1.046, allocations: 199.6 kB / 1.313 GB, free: 26.79 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/1.046, allocations: 39.98 kB / 1.313 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/1.046, allocations: 43.36 kB / 1.313 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.046, allocations: 3.406 kB / 1.313 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.046, allocations: 0 / 1.313 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/1.046, allocations: 0 / 1.313 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/1.048, allocations: 0.7475 MB / 1.314 GB, free: 26.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.048, allocations: 0 / 1.314 GB, free: 26.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/1.048, allocations: 10.66 kB / 1.314 GB, free: 26.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/1.048, allocations: 2.656 kB / 1.314 GB, free: 26.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/1.048, allocations: 17.19 kB / 1.314 GB, free: 26.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.048, allocations: 6.25 kB / 1.314 GB, free: 26.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/1.048, allocations: 3.938 kB / 1.314 GB, free: 26.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/1.05, allocations: 479.6 kB / 1.315 GB, free: 26.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/1.05, allocations: 199 kB / 1.315 GB, free: 25.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/1.05, allocations: 13.02 kB / 1.315 GB, free: 25.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/1.051, allocations: 29.72 kB / 1.315 GB, free: 25.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/1.051, allocations: 16.34 kB / 1.315 GB, free: 25.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/1.051, allocations: 56.08 kB / 1.315 GB, free: 25.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002174/1.051, allocations: 294.8 kB / 1.315 GB, free: 25.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.051, allocations: 0 / 1.315 GB, free: 25.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003468/1.051, allocations: 62.88 kB / 1.315 GB, free: 25.83 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.001713/1.053, allocations: 1.019 MB / 1.316 GB, free: 25.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001087/1.054, allocations: 419 kB / 1.317 GB, free: 24.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.054, allocations: 0 / 1.317 GB, free: 24.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006667/1.055, allocations: 106 kB / 1.317 GB, free: 24.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/1.055, allocations: 36.88 kB / 1.317 GB, free: 24.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/1.058, allocations: 2.789 MB / 1.32 GB, free: 22.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/1.059, allocations: 0.7694 MB / 1.32 GB, free: 22.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.402e-05/1.059, allocations: 20.11 kB / 1.32 GB, free: 22.28 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/1.059, allocations: 22.44 kB / 1.32 GB, free: 22.27 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/1.059, allocations: 0 / 1.32 GB, free: 22.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/1.092, allocations: 6.139 MB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/9.363, allocations: 9.438 kB / 1.326 GB, free: 21.11 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.864030167926103]