Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_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.007301/0.007301, allocations: 102.2 kB / 15.73 MB, free: 6.477 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.001733/0.001733, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7348 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 63.91 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3402, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003371/0.3436, allocations: 1.739 MB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.3451, allocations: 0.6266 MB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.3453, allocations: 0 / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.3454, allocations: 7.875 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.3456, allocations: 35.8 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009521/0.3466, allocations: 361.5 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007337/0.3473, allocations: 0.6282 MB / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3475, allocations: 37.08 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005206/0.348, allocations: 311.6 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.3484, allocations: 163.3 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.3485, allocations: 40 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.3486, allocations: 40 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.3487, allocations: 131.6 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.349, allocations: 211 kB / 1.212 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.3495, allocations: 0.6039 MB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3495, allocations: 0 / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3496, allocations: 0 / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.3496, allocations: 0 / 1.212 GB, free: 5.203 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.001502/0.3511, allocations: 0.9131 MB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3511, allocations: 12.62 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.131e-05/0.3512, allocations: 38.73 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.3513, allocations: 52.47 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.3518, allocations: 334.1 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/0.3518, allocations: 20.36 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.3519, allocations: 28.38 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.3529, allocations: 239.2 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3529, allocations: 11.88 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.353, allocations: 4 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.353, allocations: 0 / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007143/0.3537, allocations: 111.9 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.355, allocations: 0.6836 MB / 1.215 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.356, allocations: 174.5 kB / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006954/0.3567, allocations: 120.8 kB / 1.215 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3567, allocations: 4 kB / 1.215 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009136/0.3576, allocations: 231.1 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.495e-06/0.3576, allocations: 0 / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002392/0.36, allocations: 498.5 kB / 1.215 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.3601, allocations: 59.41 kB / 1.216 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.3606, allocations: 445.8 kB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.547e-05/0.3607, allocations: 41.69 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.971e-05/0.3608, allocations: 101.4 kB / 1.216 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.3609, allocations: 43.44 kB / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.3611, allocations: 133.3 kB / 1.216 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3613, allocations: 334.8 kB / 1.217 GB, free: 376 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.3615, allocations: 139.9 kB / 1.217 GB, free: 236 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.3619, allocations: 190.7 kB / 1.217 GB, free: 24 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.3623, allocations: 295.2 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3623, allocations: 0 / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008599/0.3632, allocations: 0.5203 MB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.76e-05/0.3633, allocations: 95.56 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3633, allocations: 4 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.3633, allocations: 3.984 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3635, allocations: 31.91 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3635, allocations: 4 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.364, allocations: 55.73 kB / 1.218 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/0.3641, allocations: 63.92 kB / 1.218 GB, free: 14.9 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.0002632/0.3644, allocations: 220.3 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.3644, allocations: 39.52 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/0.3645, allocations: 39.8 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.3645, allocations: 4 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3645, allocations: 0 / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3646, allocations: 0 / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.3666, allocations: 0.7911 MB / 1.219 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3667, allocations: 0 / 1.219 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.3667, allocations: 7.984 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3667, allocations: 0 / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.3668, allocations: 19.92 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3668, allocations: 0 / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3668, allocations: 7.938 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.3684, allocations: 485.5 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.3688, allocations: 252.4 kB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.3688, allocations: 15.94 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.3693, allocations: 31.97 kB / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.3694, allocations: 11.92 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/0.3694, allocations: 59.97 kB / 1.22 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003646/0.3698, allocations: 315.1 kB / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3698, allocations: 0 / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004295/0.3702, allocations: 75.92 kB / 1.22 GB, free: 12.45 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.002031/0.3723, allocations: 1.043 MB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.3736, allocations: 478.4 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3736, allocations: 4 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000758/0.3744, allocations: 124.2 kB / 1.222 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.3748, allocations: 39.41 kB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.3797, allocations: 3.006 MB / 1.225 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.3801, allocations: 0.7902 MB / 1.226 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.961e-05/0.3802, allocations: 17.42 kB / 1.226 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.3803, allocations: 27.42 kB / 1.226 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of SimCode: time 1.022e-06/0.3803, allocations: 0 / 1.226 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.4067, allocations: 6.707 MB / 1.232 GB, free: 72 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/8.071, allocations: 18.34 kB / 1.232 GB, free: 56 kB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches