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.005208/0.005209, allocations: 100.7 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.001295/0.001295, allocations: 192.4 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.846/2.846, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3034, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002914/0.3064, allocations: 1.735 MB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3077, allocations: 0.6223 MB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.3078, allocations: 0 / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.3079, allocations: 15.75 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.3081, allocations: 27.86 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009221/0.309, allocations: 371.3 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006626/0.3097, allocations: 0.6321 MB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3098, allocations: 41.08 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004598/0.3103, allocations: 311.6 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.3106, allocations: 163.3 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.48e-05/0.3107, allocations: 40 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.023e-05/0.3108, allocations: 44 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.3109, allocations: 131.6 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.3111, allocations: 215 kB / 1.212 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.3117, allocations: 0.5961 MB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3117, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3117, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.3117, allocations: 0 / 1.212 GB, free: 5.176 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.00134/0.3131, allocations: 0.9092 MB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3131, allocations: 16.56 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.288e-05/0.3132, allocations: 42.73 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.3133, allocations: 48.47 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.3137, allocations: 334.2 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.3138, allocations: 24.36 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.88e-05/0.3138, allocations: 32.36 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009666/0.3148, allocations: 231.6 kB / 1.214 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3148, allocations: 3.938 kB / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.3149, allocations: 8 kB / 1.214 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3149, allocations: 0 / 1.214 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000729/0.3156, allocations: 119.9 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.3169, allocations: 0.668 MB / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009829/0.3179, allocations: 186.4 kB / 1.215 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007423/0.3186, allocations: 112.8 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.3187, allocations: 7.984 kB / 1.215 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009268/0.3196, allocations: 223.2 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 3.778e-06/0.3196, allocations: 3.984 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002394/0.322, allocations: 0.4912 MB / 1.215 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3221, allocations: 63.41 kB / 1.216 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.3226, allocations: 441.8 kB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/0.3227, allocations: 45.69 kB / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.3228, allocations: 101.4 kB / 1.216 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.3228, allocations: 47.44 kB / 1.216 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.3231, allocations: 133.3 kB / 1.216 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3232, allocations: 326.8 kB / 1.217 GB, free: 352 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.3236, allocations: 135.9 kB / 1.217 GB, free: 216 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.3239, allocations: 194.7 kB / 1.217 GB, free: 0 / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.3243, allocations: 294.4 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3243, allocations: 8 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00085/0.3252, allocations: 0.5125 MB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.849e-05/0.3253, allocations: 95.38 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3253, allocations: 3.938 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3253, allocations: 4 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.3255, allocations: 27.91 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.3255, allocations: 4 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004952/0.326, allocations: 67.92 kB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.3261, allocations: 59.92 kB / 1.218 GB, free: 14.87 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.000359/0.3265, allocations: 212.3 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.3266, allocations: 39.52 kB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.3267, allocations: 39.8 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3267, allocations: 8 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3267, allocations: 0 / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3267, allocations: 0 / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.3289, allocations: 0.7872 MB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3289, allocations: 8 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.329, allocations: 7.984 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.329, allocations: 0 / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.329, allocations: 19.92 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.329, allocations: 4 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3291, allocations: 0 / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.3308, allocations: 489.6 kB / 1.219 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.3311, allocations: 244.4 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.3312, allocations: 23.94 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.3316, allocations: 27.95 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.3316, allocations: 8 kB / 1.22 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-05/0.3317, allocations: 67.95 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003284/0.3321, allocations: 319.1 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4e-07/0.3321, allocations: 0 / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003922/0.3325, allocations: 71.92 kB / 1.22 GB, free: 12.43 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.002011/0.3345, allocations: 1.037 MB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.3358, allocations: 485 kB / 1.222 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3358, allocations: 0 / 1.222 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007143/0.3365, allocations: 119.9 kB / 1.222 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.337, allocations: 31.09 kB / 1.222 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/0.3416, allocations: 3.014 MB / 1.225 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.342, allocations: 0.7902 MB / 1.226 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.519e-05/0.3421, allocations: 17.42 kB / 1.226 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.3421, allocations: 27.42 kB / 1.226 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3421, allocations: 0 / 1.226 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.3684, allocations: 6.712 MB / 1.232 GB, free: 44 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.058, allocations: 20.95 kB / 1.232 GB, free: 28 kB / 0.9825 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