Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_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.006443/0.006443, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001618/0.001618, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.785/0.7863, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002172/0.7885, allocations: 1.519 MB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.7896, allocations: 0.5442 MB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.7897, allocations: 4 kB / 1.089 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.277e-05/0.7898, allocations: 10.16 kB / 1.089 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.7899, allocations: 26.66 kB / 1.089 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.7906, allocations: 307.6 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004831/0.7911, allocations: 0.5088 MB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.7911, allocations: 6.328 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.7914, allocations: 265.4 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.7917, allocations: 152.6 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.7918, allocations: 26.78 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.363e-05/0.7919, allocations: 26.28 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.792, allocations: 119.5 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.7922, allocations: 185.7 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.7926, allocations: 423 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7927, allocations: 0.9688 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7927, allocations: 0 / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.7927, allocations: 0 / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001038/0.7937, allocations: 0.8749 MB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.7938, allocations: 9.844 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.7938, allocations: 39.78 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.7939, allocations: 51.47 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.7942, allocations: 304.9 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.7943, allocations: 20.84 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/0.7944, allocations: 25.91 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009642/0.7953, allocations: 216.4 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7954, allocations: 3.938 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.7954, allocations: 9.766 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7954, allocations: 2.25 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007446/0.7961, allocations: 96.64 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.7965, allocations: 394.4 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.7976, allocations: 171.6 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007342/0.7983, allocations: 112.4 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.7983, allocations: 2.984 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009163/0.7993, allocations: 223 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.7993, allocations: 4.875 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002421/0.8017, allocations: 489.5 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.8017, allocations: 61.5 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.8022, allocations: 411.2 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.8022, allocations: 39.59 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.8023, allocations: 96.19 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.8023, allocations: 36.3 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.8026, allocations: 127.6 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.8026, allocations: 321.2 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.8029, allocations: 124.2 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.8032, allocations: 180.9 kB / 1.096 GB, free: 400 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.8036, allocations: 278.7 kB / 1.096 GB, free: 196 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8036, allocations: 0 / 1.096 GB, free: 196 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008543/0.8044, allocations: 493.5 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-05/0.8045, allocations: 88.88 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8046, allocations: 2.375 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.8046, allocations: 6.938 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.8048, allocations: 28.25 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8048, allocations: 2.891 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/0.8053, allocations: 57.48 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/0.8054, allocations: 58.09 kB / 1.097 GB, free: 15.88 MB / 0.8731 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002302/0.8056, allocations: 199 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.8057, allocations: 42.3 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.8058, allocations: 37.61 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.8058, allocations: 2.094 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8058, allocations: 0 / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.8058, allocations: 1.406 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.808, allocations: 0.748 MB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.808, allocations: 1.094 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.8081, allocations: 4.25 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.8081, allocations: 1.969 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.8081, allocations: 26.02 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.8081, allocations: 0.8125 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.8081, allocations: 1.531 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.8099, allocations: 482.2 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.8102, allocations: 196.3 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/0.8103, allocations: 14.78 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.8108, allocations: 31.78 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.8108, allocations: 8.016 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/0.8109, allocations: 60.5 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003198/0.8112, allocations: 298.2 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8112, allocations: 1.219 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003661/0.8116, allocations: 63.72 kB / 1.099 GB, free: 14.77 MB / 0.8731 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.002035/0.8136, allocations: 1.022 MB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.815, allocations: 437.9 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.815, allocations: 0 / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007747/0.8158, allocations: 129.5 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.8162, allocations: 29.97 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.8203, allocations: 2.788 MB / 1.103 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.8208, allocations: 0.771 MB / 1.104 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.192e-05/0.8209, allocations: 19.58 kB / 1.104 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.821, allocations: 22.36 kB / 1.104 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of SimCode: time 3.9e-07/0.821, allocations: 0 / 1.104 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.8506, allocations: 6.11 MB / 1.11 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/8.53, allocations: 9.344 kB / 1.11 GB, free: 10.05 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches