Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004787/0.004787, allocations: 101.7 kB / 15.73 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 0.9503 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7607, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002443/0.7632, allocations: 1.525 MB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.7644, allocations: 0.5372 MB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.7645, allocations: 0 / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.625e-05/0.7646, allocations: 10.97 kB / 1.089 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.7647, allocations: 29.73 kB / 1.089 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007253/0.7654, allocations: 308.9 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.7659, allocations: 0.4972 MB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.766, allocations: 5.719 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.7663, allocations: 282.2 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.7666, allocations: 136.6 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.563e-05/0.7667, allocations: 30.97 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.895e-05/0.7667, allocations: 26.5 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.7669, allocations: 119.4 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.7671, allocations: 181.4 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.7675, allocations: 423.6 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7675, allocations: 0.5625 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7675, allocations: 0 / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.7676, allocations: 0 / 1.091 GB, free: 3.07 MB / 0.8575 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.001084/0.7686, allocations: 0.8731 MB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.7687, allocations: 13.12 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.7687, allocations: 36.09 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.7689, allocations: 55.8 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.7692, allocations: 303.8 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.7692, allocations: 18.02 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.082e-05/0.7693, allocations: 25.55 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009389/0.7702, allocations: 215.5 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.7703, allocations: 16.38 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.7703, allocations: 2.875 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.7703, allocations: 5.594 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007436/0.7711, allocations: 95.58 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.7715, allocations: 395.5 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009978/0.7725, allocations: 176.3 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000711/0.7732, allocations: 108.1 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.7733, allocations: 6.031 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009206/0.7742, allocations: 228.2 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.7742, allocations: 0 / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002557/0.7768, allocations: 484.9 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7768, allocations: 61.91 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.7773, allocations: 407.5 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.7774, allocations: 43.53 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.7775, allocations: 95.58 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.7775, allocations: 45.05 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.7777, allocations: 124 kB / 1.095 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.7778, allocations: 325.1 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.7781, allocations: 119.8 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.7784, allocations: 178.5 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.7787, allocations: 273.1 kB / 1.096 GB, free: 236 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7787, allocations: 1.094 kB / 1.096 GB, free: 236 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008471/0.7796, allocations: 490.8 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.7797, allocations: 94.19 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7797, allocations: 2.438 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.7797, allocations: 1.969 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.7799, allocations: 19.8 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.7799, allocations: 8.266 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.7804, allocations: 62.22 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/0.7805, allocations: 61.42 kB / 1.097 GB, free: 15.92 MB / 0.8731 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.0002402/0.7808, allocations: 193.7 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.7809, allocations: 41.45 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.11e-05/0.7809, allocations: 45.55 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.781, allocations: 2.188 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.781, allocations: 0 / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.781, allocations: 1.719 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.7832, allocations: 0.7401 MB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.7832, allocations: 5.188 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.7832, allocations: 17.02 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.7832, allocations: 4.984 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.7833, allocations: 18.08 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.7833, allocations: 1.797 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7833, allocations: 3.938 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.785, allocations: 476.7 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.7853, allocations: 199.9 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-05/0.7853, allocations: 11.25 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000461/0.7858, allocations: 28.55 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.7858, allocations: 14.95 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.498e-05/0.7859, allocations: 56.53 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003495/0.7863, allocations: 294.8 kB / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7863, allocations: 0 / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000411/0.7867, allocations: 64.69 kB / 1.099 GB, free: 14.81 MB / 0.8731 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.002036/0.7888, allocations: 1.022 MB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.7901, allocations: 443 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.7902, allocations: 0 / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007879/0.791, allocations: 119.9 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.7913, allocations: 26.59 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/0.7958, allocations: 2.791 MB / 1.103 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.7962, allocations: 0.7709 MB / 1.104 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.747e-05/0.7963, allocations: 16.11 kB / 1.104 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.7964, allocations: 25.81 kB / 1.104 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of SimCode: time 3.166e-06/0.7964, allocations: 0 / 1.104 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.8222, allocations: 6.11 MB / 1.11 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/8.312, allocations: 8.672 kB / 1.11 GB, free: 10.09 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches