Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",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.008969/0.008969, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.001804/0.001804, allocations: 193.6 kB / 16.67 MB, free: 5.492 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.812/2.812, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 60.12 kB / 1.054 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3168, allocations: 157.4 MB / 1.207 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003284/0.3201, allocations: 1.738 MB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.3215, allocations: 0.6212 MB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.3217, allocations: 0 / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.3218, allocations: 15.8 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.3221, allocations: 31.78 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3231, allocations: 368.1 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007654/0.3239, allocations: 0.6321 MB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.324, allocations: 29.11 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004943/0.3245, allocations: 311.6 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.3249, allocations: 167.3 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.325, allocations: 44 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.3251, allocations: 40 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.3252, allocations: 123.6 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.3255, allocations: 219 kB / 1.212 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006088/0.3261, allocations: 0.6 MB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3261, allocations: 4 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3261, allocations: 0 / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.3261, allocations: 0 / 1.212 GB, free: 5.117 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001619/0.3278, allocations: 0.9014 MB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3278, allocations: 12.62 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.691e-05/0.3279, allocations: 38.75 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.328, allocations: 60.45 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.3285, allocations: 334.1 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.3286, allocations: 20.36 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.3287, allocations: 24.38 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009762/0.3297, allocations: 239.3 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3297, allocations: 7.938 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.3297, allocations: 3.984 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3297, allocations: 4 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007755/0.3305, allocations: 111.9 kB / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3319, allocations: 0.6758 MB / 1.215 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.3329, allocations: 183.1 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007421/0.3337, allocations: 116.8 kB / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3337, allocations: 0 / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009892/0.3347, allocations: 231.1 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 3.606e-06/0.3347, allocations: 8 kB / 1.215 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002634/0.3374, allocations: 495.4 kB / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.3374, allocations: 59.41 kB / 1.216 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.338, allocations: 445.8 kB / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.519e-05/0.3381, allocations: 45.69 kB / 1.216 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3382, allocations: 105.4 kB / 1.216 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.3382, allocations: 35.47 kB / 1.216 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.3385, allocations: 141.2 kB / 1.216 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3386, allocations: 330.7 kB / 1.217 GB, free: 296 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.3389, allocations: 139.9 kB / 1.217 GB, free: 156 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.3392, allocations: 186.8 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.3396, allocations: 302.5 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3396, allocations: 3.938 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008331/0.3405, allocations: 0.5145 MB / 1.218 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.346e-05/0.3406, allocations: 95.38 kB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3406, allocations: 4 kB / 1.218 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3406, allocations: 4.188 kB / 1.218 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.3408, allocations: 23.92 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3408, allocations: 7.984 kB / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.3413, allocations: 59.73 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.466e-05/0.3414, allocations: 63.92 kB / 1.218 GB, free: 14.82 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002767/0.3417, allocations: 216.3 kB / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.3418, allocations: 39.53 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.779e-05/0.3418, allocations: 43.78 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3419, allocations: 4 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3419, allocations: 0 / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3419, allocations: 0 / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.3441, allocations: 0.795 MB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3442, allocations: 0 / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.3442, allocations: 4 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3442, allocations: 0 / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.3442, allocations: 27.91 kB / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3443, allocations: 0 / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3443, allocations: 0 / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.346, allocations: 485.9 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.3464, allocations: 244.4 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/0.3465, allocations: 19.94 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.347, allocations: 31.97 kB / 1.22 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.347, allocations: 15.92 kB / 1.22 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/0.3471, allocations: 55.97 kB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003423/0.3474, allocations: 319.1 kB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3474, allocations: 0 / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004245/0.3479, allocations: 71.92 kB / 1.22 GB, free: 12.38 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.002146/0.35, allocations: 1.041 MB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.3514, allocations: 477.4 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3514, allocations: 0 / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007726/0.3522, allocations: 128.2 kB / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.3526, allocations: 48.84 kB / 1.222 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/0.3573, allocations: 3.002 MB / 1.225 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.3578, allocations: 0.7863 MB / 1.226 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.379e-05/0.3579, allocations: 21.41 kB / 1.226 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.358, allocations: 35.42 kB / 1.226 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.358, allocations: 0 / 1.226 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.3854, allocations: 6.836 MB / 1.232 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/8.053, allocations: 15.67 kB / 1.232 GB, free: 15.84 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches