Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.008034/0.008034, allocations: 101.1 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.00139/0.00139, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 437 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2987, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002941/0.3016, allocations: 1.738 MB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.3031, allocations: 0.6207 MB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.3032, allocations: 0 / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.3033, allocations: 15.8 kB / 1.169 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.3035, allocations: 39.56 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008563/0.3043, allocations: 362.8 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005682/0.3049, allocations: 0.636 MB / 1.17 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.305, allocations: 29.09 kB / 1.17 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.3054, allocations: 319.5 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.3057, allocations: 151.6 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-05/0.3058, allocations: 40 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3059, allocations: 48 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.306, allocations: 123.6 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.3062, allocations: 215 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.3067, allocations: 0.5956 MB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3067, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3067, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3067, allocations: 0 / 1.171 GB, free: 2.332 MB / 0.92 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.00115/0.3079, allocations: 0.9053 MB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3079, allocations: 12.03 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.308, allocations: 46.73 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.958e-05/0.3081, allocations: 48.47 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.3084, allocations: 334.1 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.3085, allocations: 20.36 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/0.3086, allocations: 32.36 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009011/0.3095, allocations: 240.1 kB / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3095, allocations: 7.938 kB / 1.173 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.3095, allocations: 4 kB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3095, allocations: 0 / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/0.3103, allocations: 115.9 kB / 1.173 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.3114, allocations: 0.6758 MB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/0.3124, allocations: 182.5 kB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006896/0.3131, allocations: 120.8 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3131, allocations: 4 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008854/0.314, allocations: 233.7 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.654e-06/0.314, allocations: 0 / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002344/0.3164, allocations: 496.8 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3165, allocations: 67.41 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.3169, allocations: 433.9 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.317, allocations: 45.69 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.317, allocations: 101.3 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.3171, allocations: 51.38 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.3173, allocations: 129.3 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.3174, allocations: 330.8 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.3177, allocations: 139.9 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.318, allocations: 194.9 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.3184, allocations: 293.2 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3184, allocations: 4 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008292/0.3192, allocations: 0.5108 MB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.453e-05/0.3193, allocations: 99.38 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3193, allocations: 3.984 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3193, allocations: 4 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3195, allocations: 24.11 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3195, allocations: 4 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.32, allocations: 59.8 kB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.3201, allocations: 63.92 kB / 1.177 GB, free: 12.03 MB / 0.9356 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.3203, allocations: 216.3 kB / 1.177 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.3204, allocations: 39.53 kB / 1.177 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.3205, allocations: 35.8 kB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3205, allocations: 4 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3205, allocations: 4 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3205, allocations: 3.984 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.3226, allocations: 0.8004 MB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3226, allocations: 0 / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.3226, allocations: 4 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3226, allocations: 0 / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.3227, allocations: 27.91 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.3227, allocations: 4 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3227, allocations: 3.938 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.3244, allocations: 479.2 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.3247, allocations: 244.5 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.377e-05/0.3248, allocations: 19.94 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.3253, allocations: 35.89 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3253, allocations: 11.98 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/0.3254, allocations: 55.98 kB / 1.179 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003357/0.3257, allocations: 323.1 kB / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3258, allocations: 0 / 1.179 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004272/0.3262, allocations: 67.91 kB / 1.179 GB, free: 9.586 MB / 0.9356 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.002016/0.3282, allocations: 1.05 MB / 1.18 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.3296, allocations: 482.4 kB / 1.181 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3296, allocations: 0 / 1.181 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006866/0.3303, allocations: 124.9 kB / 1.181 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.3307, allocations: 49.94 kB / 1.181 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.3354, allocations: 2.99 MB / 1.184 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.3359, allocations: 0.7825 MB / 1.184 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.597e-05/0.336, allocations: 17.42 kB / 1.184 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.876e-05/0.3361, allocations: 35.42 kB / 1.184 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of SimCode: time 2.454e-06/0.3361, allocations: 0 / 1.184 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.36, allocations: 6.72 MB / 1.191 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.13, allocations: 10.11 kB / 1.191 GB, free: 13.18 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches