Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_9_Buildings_Utilities_Time_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.007912/0.007912, allocations: 99.5 kB / 15.73 MB, free: 5.996 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.001689/0.001689, allocations: 199.5 kB / 16.68 MB, free: 5.918 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.163/2.163, allocations: 390.3 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.89 kB / 0.9504 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7389/0.7402, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002266/0.7425, allocations: 1.511 MB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.7436, allocations: 0.5535 MB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.7437, allocations: 1.062 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 8.935e-05/0.7438, allocations: 9.188 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.814e-05/0.7439, allocations: 26.89 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.7446, allocations: 310.6 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.7451, allocations: 0.5045 MB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.7452, allocations: 8.938 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.7455, allocations: 273.7 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.7458, allocations: 140.6 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.653e-05/0.7459, allocations: 27.28 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.066e-05/0.746, allocations: 26.69 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.7461, allocations: 123.4 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.7462, allocations: 180.9 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.7467, allocations: 424 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7467, allocations: 3.938 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7467, allocations: 4 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7467, allocations: 1.094 kB / 1.091 GB, free: 3.082 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.00106/0.7478, allocations: 0.8687 MB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.7478, allocations: 9.125 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.7478, allocations: 40.7 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.748, allocations: 50.72 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.7483, allocations: 308.6 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.7484, allocations: 17.42 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.759e-05/0.7485, allocations: 30.17 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/0.7494, allocations: 211.7 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.7495, allocations: 3.938 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.7495, allocations: 6.359 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7495, allocations: 2.188 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007685/0.7503, allocations: 99.94 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.7507, allocations: 391.6 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.7517, allocations: 172 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007532/0.7525, allocations: 115.8 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.7525, allocations: 2.703 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009314/0.7535, allocations: 230.5 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.7535, allocations: 0 / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002639/0.7561, allocations: 486.9 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.7562, allocations: 61.23 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.7566, allocations: 411.6 kB / 1.095 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.7567, allocations: 40.67 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.7567, allocations: 94.22 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.7568, allocations: 37.11 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.757, allocations: 128.1 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.7571, allocations: 325.3 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.7573, allocations: 119.3 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.7576, allocations: 180 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.758, allocations: 272.3 kB / 1.096 GB, free: 260 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.758, allocations: 0.75 kB / 1.096 GB, free: 260 kB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008075/0.7588, allocations: 490.6 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.886e-05/0.7589, allocations: 95.72 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7589, allocations: 2.562 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.759, allocations: 3.406 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.7591, allocations: 23.48 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.7591, allocations: 2.812 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.7596, allocations: 58.38 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-05/0.7597, allocations: 58.41 kB / 1.097 GB, free: 15.95 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.0002652/0.76, allocations: 199.8 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.7601, allocations: 44.16 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.7602, allocations: 38.97 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.7602, allocations: 1.344 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7602, allocations: 0 / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7602, allocations: 1.422 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.7625, allocations: 0.7477 MB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.7625, allocations: 1.672 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.7626, allocations: 8.484 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.7626, allocations: 1.156 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.7626, allocations: 26.16 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.7626, allocations: 6.281 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7626, allocations: 0 / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.7644, allocations: 475 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.7648, allocations: 199.8 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.7648, allocations: 14.8 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.7653, allocations: 29.47 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.7654, allocations: 7.578 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/0.7655, allocations: 59.88 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003148/0.7658, allocations: 297.6 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7658, allocations: 0.8125 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003641/0.7661, allocations: 68.88 kB / 1.099 GB, free: 14.83 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.002093/0.7682, allocations: 1.021 MB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.7696, allocations: 440.7 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.7696, allocations: 0 / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008454/0.7705, allocations: 126.1 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.7709, allocations: 29.59 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.7751, allocations: 2.78 MB / 1.103 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.7757, allocations: 0.7799 MB / 1.104 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.851e-05/0.7758, allocations: 10.55 kB / 1.104 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.7759, allocations: 21.5 kB / 1.104 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of SimCode: time 6.12e-07/0.7759, allocations: 1.219 kB / 1.104 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.8006, allocations: 6.235 MB / 1.11 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/8.428, allocations: 11.77 kB / 1.11 GB, free: 10.06 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches