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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006238/0.006238, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001112/0.001112, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.84 kB / 1.054 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3053, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002659/0.308, allocations: 1.517 MB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3093, allocations: 0.5345 MB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.3094, allocations: 0 / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.3095, allocations: 11.86 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.3096, allocations: 27.84 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007916/0.3104, allocations: 312 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.3109, allocations: 0.5033 MB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.311, allocations: 11.97 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.3114, allocations: 275.6 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.3117, allocations: 145.6 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.779e-05/0.3118, allocations: 24 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.355e-05/0.3119, allocations: 28 kB / 1.211 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.312, allocations: 123.6 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.3122, allocations: 187 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.3126, allocations: 422.9 kB / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3126, allocations: 0 / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3126, allocations: 0 / 1.211 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3126, allocations: 0 / 1.211 GB, free: 6.094 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.001198/0.3138, allocations: 0.8665 MB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3139, allocations: 12.62 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.976e-05/0.3139, allocations: 38.69 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.3141, allocations: 52.47 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.3144, allocations: 306.3 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.3145, allocations: 20.36 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.3146, allocations: 32.3 kB / 1.213 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.3156, allocations: 210 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3156, allocations: 3.938 kB / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.3156, allocations: 7.984 kB / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3156, allocations: 0 / 1.213 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007985/0.3164, allocations: 95.92 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.3169, allocations: 389.2 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.3179, allocations: 178.4 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000786/0.3187, allocations: 112.7 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3188, allocations: 4 kB / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.3198, allocations: 229 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.3198, allocations: 0 / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002666/0.3225, allocations: 480.9 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.3225, allocations: 55.41 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000494/0.323, allocations: 425.7 kB / 1.215 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.112e-05/0.3231, allocations: 37.7 kB / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.912e-05/0.3232, allocations: 105.4 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.3233, allocations: 35.61 kB / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.3235, allocations: 121.3 kB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3237, allocations: 326.8 kB / 1.215 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.3239, allocations: 115.9 kB / 1.215 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.3242, allocations: 175.2 kB / 1.215 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.3246, allocations: 278.4 kB / 1.216 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3246, allocations: 4 kB / 1.216 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007568/0.3254, allocations: 483.4 kB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/0.3255, allocations: 95.31 kB / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3255, allocations: 0 / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3255, allocations: 7.938 kB / 1.216 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.3257, allocations: 23.91 kB / 1.216 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3257, allocations: 4 kB / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.3262, allocations: 71.92 kB / 1.216 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.66e-05/0.3263, allocations: 59.98 kB / 1.216 GB, free: 392 kB / 0.9669 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.0003208/0.3266, allocations: 192 kB / 1.217 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/0.3267, allocations: 47.45 kB / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3268, allocations: 39.75 kB / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3268, allocations: 0 / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.3269, allocations: 4 kB / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3269, allocations: 0 / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.3294, allocations: 0.7446 MB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3294, allocations: 0 / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.3295, allocations: 8 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3295, allocations: 0 / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.3296, allocations: 23.97 kB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3296, allocations: 0 / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3296, allocations: 0 / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.3314, allocations: 483.1 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.3317, allocations: 200.5 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3318, allocations: 8 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.3323, allocations: 27.97 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.3324, allocations: 11.98 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.294e-05/0.3325, allocations: 63.91 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003939/0.3329, allocations: 295.1 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3329, allocations: 0 / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004492/0.3334, allocations: 67.98 kB / 1.219 GB, free: 14.1 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.002269/0.3357, allocations: 1.02 MB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.337, allocations: 446.6 kB / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.337, allocations: 0 / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007567/0.3378, allocations: 119.8 kB / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3382, allocations: 26.92 kB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.3424, allocations: 2.787 MB / 1.223 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.3428, allocations: 0.7785 MB / 1.224 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.638e-05/0.3429, allocations: 9.094 kB / 1.224 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.3429, allocations: 31.36 kB / 1.224 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3429, allocations: 4 kB / 1.224 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.3665, allocations: 6.244 MB / 1.23 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.272, allocations: 9.719 kB / 1.23 GB, free: 2.438 MB / 0.9825 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) 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) Reference file matches