Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_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.007582/0.007582, allocations: 101.1 kB / 15.73 MB, free: 6.008 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.001398/0.001398, allocations: 195 kB / 16.67 MB, free: 5.934 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8637/0.8651, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003109/0.8683, allocations: 1.521 MB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.8699, allocations: 0.5462 MB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.8701, allocations: 0 / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.8702, allocations: 11.86 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.8705, allocations: 27.84 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.8719, allocations: 306.8 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009551/0.8728, allocations: 0.5072 MB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.8729, allocations: 7.984 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007014/0.8736, allocations: 279.6 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004815/0.8741, allocations: 135.7 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.8743, allocations: 28 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.8744, allocations: 31.94 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.8746, allocations: 115.7 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.875, allocations: 187 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006878/0.8757, allocations: 421 kB / 1.211 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.8757, allocations: 3.938 kB / 1.211 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8757, allocations: 0 / 1.211 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.8758, allocations: 4 kB / 1.211 GB, free: 9.438 MB / 0.9356 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.001853/0.8776, allocations: 0.8625 MB / 1.212 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.8777, allocations: 8.031 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.381e-05/0.8778, allocations: 38.75 kB / 1.212 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.878, allocations: 52.47 kB / 1.212 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.8785, allocations: 306.3 kB / 1.212 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/0.8786, allocations: 16.36 kB / 1.212 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.8787, allocations: 28.36 kB / 1.213 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.8802, allocations: 217.9 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.8802, allocations: 3.938 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.8803, allocations: 7.984 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.8803, allocations: 0 / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.8815, allocations: 99.92 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.8821, allocations: 393.2 kB / 1.213 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.8837, allocations: 170.5 kB / 1.213 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.8849, allocations: 112.8 kB / 1.213 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.885, allocations: 7.984 kB / 1.213 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.8864, allocations: 223.1 kB / 1.214 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.766e-06/0.8864, allocations: 0 / 1.214 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.00379/0.8902, allocations: 488.8 kB / 1.214 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.8903, allocations: 55.41 kB / 1.214 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/0.891, allocations: 417.8 kB / 1.215 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.637e-05/0.8911, allocations: 37.7 kB / 1.215 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.8912, allocations: 105.3 kB / 1.215 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.8913, allocations: 31.55 kB / 1.215 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.8916, allocations: 129.3 kB / 1.215 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8917, allocations: 322.8 kB / 1.215 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.8921, allocations: 119.9 kB / 1.215 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.8926, allocations: 167.1 kB / 1.215 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/0.8932, allocations: 283 kB / 1.216 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.8932, allocations: 0 / 1.216 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001219/0.8944, allocations: 490.5 kB / 1.216 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.8946, allocations: 91.25 kB / 1.216 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.8946, allocations: 8.188 kB / 1.216 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.8946, allocations: 4 kB / 1.216 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.8949, allocations: 27.91 kB / 1.216 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.8949, allocations: 4 kB / 1.216 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.8955, allocations: 59.73 kB / 1.216 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.8957, allocations: 59.98 kB / 1.216 GB, free: 3.734 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.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.0003698/0.8961, allocations: 200.8 kB / 1.217 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.8962, allocations: 43.45 kB / 1.217 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.868e-05/0.8963, allocations: 35.75 kB / 1.217 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8963, allocations: 4 kB / 1.217 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.8963, allocations: 0 / 1.217 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.8963, allocations: 0 / 1.217 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.8995, allocations: 0.7546 MB / 1.217 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8995, allocations: 0 / 1.217 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.8996, allocations: 4 kB / 1.217 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.8996, allocations: 0 / 1.217 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.8997, allocations: 23.97 kB / 1.217 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.8997, allocations: 0 / 1.217 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8997, allocations: 0 / 1.217 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.9023, allocations: 479.2 kB / 1.218 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.9027, allocations: 196.5 kB / 1.218 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.9028, allocations: 12 kB / 1.218 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/0.9035, allocations: 31.97 kB / 1.218 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.9036, allocations: 7.984 kB / 1.218 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.9037, allocations: 59.97 kB / 1.218 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004603/0.9042, allocations: 299 kB / 1.219 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9042, allocations: 0 / 1.219 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006349/0.9048, allocations: 67.98 kB / 1.219 GB, free: 1.449 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.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.003037/0.9079, allocations: 1.019 MB / 1.22 GB, free: 412 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.9097, allocations: 442.5 kB / 1.22 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9098, allocations: 0 / 1.22 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.9108, allocations: 124.2 kB / 1.22 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.9114, allocations: 34.48 kB / 1.22 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/0.9178, allocations: 2.787 MB / 1.223 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.9182, allocations: 0.7861 MB / 1.224 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.839e-05/0.9183, allocations: 13.09 kB / 1.224 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.9183, allocations: 23.42 kB / 1.224 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/0.9183, allocations: 0 / 1.224 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.9434, allocations: 6.242 MB / 1.23 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.837, allocations: 10.86 kB / 1.23 GB, free: 5.785 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches