Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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 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.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_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.008534/0.008534, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.002035/0.002035, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.772/2.772, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 71.91 kB / 1.054 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3307, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.0036/0.3344, allocations: 1.738 MB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.3358, allocations: 0.6188 MB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.336, allocations: 0 / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.3361, allocations: 11.86 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.3363, allocations: 43.72 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.3374, allocations: 364.6 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008601/0.3383, allocations: 0.6243 MB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3384, allocations: 33.05 kB / 1.211 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005643/0.339, allocations: 307.6 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000416/0.3394, allocations: 173.7 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.3395, allocations: 40 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.974e-05/0.3397, allocations: 40 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.3398, allocations: 127.6 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.34, allocations: 215 kB / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005885/0.3406, allocations: 0.6 MB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3407, allocations: 4 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3407, allocations: 0 / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.3407, allocations: 0 / 1.212 GB, free: 5.148 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.001574/0.3423, allocations: 0.9053 MB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.3423, allocations: 8.625 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.269e-05/0.3424, allocations: 42.73 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.3425, allocations: 52.47 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.3431, allocations: 342.1 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.3431, allocations: 24.36 kB / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.808e-05/0.3432, allocations: 24.36 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3442, allocations: 239.4 kB / 1.214 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3442, allocations: 3.938 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.3443, allocations: 4 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.3443, allocations: 4 kB / 1.214 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007769/0.3451, allocations: 115.8 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.3465, allocations: 0.668 MB / 1.214 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.3476, allocations: 186.4 kB / 1.215 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007448/0.3483, allocations: 120.8 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3484, allocations: 7.922 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009698/0.3493, allocations: 227.2 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.3494, allocations: 0 / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002547/0.3519, allocations: 499.7 kB / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.352, allocations: 63.34 kB / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.3525, allocations: 445.8 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.51e-05/0.3525, allocations: 41.69 kB / 1.216 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.3527, allocations: 101.4 kB / 1.216 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.3527, allocations: 39.45 kB / 1.216 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.3529, allocations: 141.3 kB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3531, allocations: 330.8 kB / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.3534, allocations: 139.9 kB / 1.217 GB, free: 180 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.3537, allocations: 190.7 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.3541, allocations: 299.7 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3541, allocations: 0 / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008319/0.3549, allocations: 0.5125 MB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.253e-05/0.355, allocations: 99.56 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.355, allocations: 3.984 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3551, allocations: 4 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.3552, allocations: 27.92 kB / 1.218 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3553, allocations: 0 / 1.218 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.3557, allocations: 63.73 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.634e-05/0.3558, allocations: 59.92 kB / 1.218 GB, free: 14.85 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.0002366/0.3561, allocations: 224.3 kB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.3561, allocations: 39.53 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.3562, allocations: 39.8 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3562, allocations: 0 / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.3562, allocations: 4 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3563, allocations: 3.984 kB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.3585, allocations: 0.7911 MB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3585, allocations: 0 / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.3585, allocations: 4 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3585, allocations: 0 / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.3586, allocations: 23.91 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3586, allocations: 0 / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3586, allocations: 4 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.3603, allocations: 479.2 kB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.3607, allocations: 244.4 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.3607, allocations: 23.94 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.3612, allocations: 35.95 kB / 1.22 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.3613, allocations: 7.984 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.3614, allocations: 55.98 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003339/0.3617, allocations: 327 kB / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3617, allocations: 0 / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004252/0.3621, allocations: 64 kB / 1.22 GB, free: 12.41 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.002125/0.3643, allocations: 1.043 MB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001345/0.3656, allocations: 478.4 kB / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3656, allocations: 0 / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007928/0.3664, allocations: 132.2 kB / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.3669, allocations: 50.61 kB / 1.222 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.3714, allocations: 3.001 MB / 1.225 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.3718, allocations: 0.7902 MB / 1.226 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.172e-05/0.3719, allocations: 13.42 kB / 1.226 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.372, allocations: 31.42 kB / 1.226 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.372, allocations: 0 / 1.226 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.3963, allocations: 6.827 MB / 1.232 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.987, allocations: 15.78 kB / 1.232 GB, free: 15.88 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches