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.007385/0.007385, allocations: 102 kB / 15.73 MB, free: 6.484 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.001302/0.001302, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.875/2.875, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.83 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3144, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002922/0.3174, allocations: 1.736 MB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3188, allocations: 0.6367 MB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3189, allocations: 0 / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.3191, allocations: 11.81 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.3193, allocations: 39.77 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3203, allocations: 359.8 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.321, allocations: 0.6282 MB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3211, allocations: 37.09 kB / 1.211 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.3217, allocations: 315.6 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.322, allocations: 159.3 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.3221, allocations: 44 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.3222, allocations: 40 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.3224, allocations: 127.6 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.3226, allocations: 215 kB / 1.212 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.3231, allocations: 0.5961 MB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3231, allocations: 3.984 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3231, allocations: 7.938 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.3232, allocations: 4 kB / 1.212 GB, free: 5.184 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.001422/0.3246, allocations: 0.9014 MB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3246, allocations: 8.625 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.3247, allocations: 42.73 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.3248, allocations: 52.47 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.3253, allocations: 326.2 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.3254, allocations: 20.36 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.802e-05/0.3255, allocations: 36.36 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3265, allocations: 239.8 kB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3265, allocations: 3.938 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.3265, allocations: 0 / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3265, allocations: 4 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00078/0.3273, allocations: 115.9 kB / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3287, allocations: 0.6758 MB / 1.215 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.3297, allocations: 182.5 kB / 1.215 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007551/0.3305, allocations: 116.8 kB / 1.215 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3305, allocations: 0 / 1.215 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009673/0.3315, allocations: 231.2 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.3315, allocations: 0 / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002543/0.3341, allocations: 0.4917 MB / 1.215 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.3341, allocations: 63.34 kB / 1.216 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/0.3346, allocations: 441.8 kB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.3347, allocations: 41.69 kB / 1.216 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.3348, allocations: 109.4 kB / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.3348, allocations: 43.45 kB / 1.216 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.335, allocations: 133.3 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3351, allocations: 330.8 kB / 1.217 GB, free: 372 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.3354, allocations: 131.9 kB / 1.217 GB, free: 240 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.3357, allocations: 194.7 kB / 1.217 GB, free: 24 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.3361, allocations: 298.3 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.3361, allocations: 0 / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008412/0.337, allocations: 0.5181 MB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/0.3371, allocations: 95.38 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.3371, allocations: 3.938 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.3371, allocations: 7.984 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3373, allocations: 19.98 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3373, allocations: 0 / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.3378, allocations: 71.86 kB / 1.218 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.3379, allocations: 63.92 kB / 1.218 GB, free: 14.89 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.0002272/0.3381, allocations: 216.4 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.557e-05/0.3382, allocations: 39.53 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.3383, allocations: 35.8 kB / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3383, allocations: 0 / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3383, allocations: 0 / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3383, allocations: 7.984 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.3405, allocations: 0.7872 MB / 1.219 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3405, allocations: 7.984 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.3406, allocations: 4 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3406, allocations: 4 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.3406, allocations: 27.91 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3406, allocations: 3.938 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3406, allocations: 0 / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.3423, allocations: 475.3 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.3426, allocations: 248.4 kB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.3427, allocations: 19.94 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.3433, allocations: 31.95 kB / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.3433, allocations: 11.98 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.3434, allocations: 51.98 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000307/0.3437, allocations: 327.1 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3437, allocations: 3.938 kB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003525/0.3441, allocations: 64 kB / 1.22 GB, free: 12.46 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.00212/0.3462, allocations: 1.051 MB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.3475, allocations: 478.7 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3475, allocations: 4.062 kB / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007639/0.3483, allocations: 127.9 kB / 1.222 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.3487, allocations: 33.53 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.00456/0.3533, allocations: 3 MB / 1.225 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.3538, allocations: 0.7863 MB / 1.226 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.38e-05/0.3538, allocations: 13.42 kB / 1.226 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/0.3539, allocations: 39.42 kB / 1.226 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of SimCode: time 8.72e-07/0.3539, allocations: 0 / 1.226 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.3796, allocations: 6.84 MB / 1.232 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.034, allocations: 20.95 kB / 1.232 GB, free: 15.92 MB / 0.9981 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