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.008011/0.008011, allocations: 103.5 kB / 15.73 MB, free: 6.047 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.001733/0.001733, allocations: 189 kB / 16.67 MB, free: 5.969 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.361/1.361, 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 11.0.1-master/package.mo): time 2.517/2.517, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 1.054 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7723/0.7737, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003107/0.7769, allocations: 1.523 MB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.7784, allocations: 0.5423 MB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.645e-05/0.7785, allocations: 0 / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.7787, allocations: 11.86 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.7788, allocations: 23.86 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009685/0.7798, allocations: 306.9 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007473/0.7806, allocations: 0.5033 MB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.7806, allocations: 8 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005398/0.7812, allocations: 279.6 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003814/0.7816, allocations: 143.6 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.7817, allocations: 28 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.7818, allocations: 28 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.7819, allocations: 115.6 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.7822, allocations: 183.1 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.7827, allocations: 428.9 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7827, allocations: 4 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7827, allocations: 0 / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.7827, allocations: 0 / 1.211 GB, free: 9.48 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.001537/0.7842, allocations: 0.8624 MB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.7843, allocations: 12.03 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.374e-05/0.7844, allocations: 38.73 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.7846, allocations: 52.47 kB / 1.212 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.7851, allocations: 306.3 kB / 1.212 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/0.7852, allocations: 24.36 kB / 1.212 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.7853, allocations: 20.38 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.7863, allocations: 218 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.7863, allocations: 3.938 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.7863, allocations: 7.938 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7863, allocations: 0 / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.7871, allocations: 103.9 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.7876, allocations: 393.2 kB / 1.213 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.7887, allocations: 178.4 kB / 1.213 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008099/0.7896, allocations: 108.8 kB / 1.213 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.7896, allocations: 4 kB / 1.213 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009563/0.7906, allocations: 228.5 kB / 1.214 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.7906, allocations: 0 / 1.214 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002686/0.7933, allocations: 487.1 kB / 1.214 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.7934, allocations: 59.39 kB / 1.214 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005577/0.7939, allocations: 409.9 kB / 1.215 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.794, allocations: 41.69 kB / 1.215 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.7941, allocations: 101.3 kB / 1.215 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.7942, allocations: 31.5 kB / 1.215 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.7944, allocations: 141.2 kB / 1.215 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7946, allocations: 318.8 kB / 1.215 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.7949, allocations: 119.9 kB / 1.215 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.7952, allocations: 175.1 kB / 1.216 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.7956, allocations: 274.8 kB / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7956, allocations: 0 / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008031/0.7964, allocations: 495.2 kB / 1.216 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.7965, allocations: 96.88 kB / 1.216 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7965, allocations: 0 / 1.216 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.7966, allocations: 4 kB / 1.216 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.7967, allocations: 15.98 kB / 1.216 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.7968, allocations: 7.938 kB / 1.216 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.7972, allocations: 63.78 kB / 1.216 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.442e-05/0.7973, allocations: 60.05 kB / 1.216 GB, free: 3.77 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.0002308/0.7976, allocations: 197.4 kB / 1.217 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.7977, allocations: 39.47 kB / 1.217 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.32e-05/0.7978, allocations: 47.67 kB / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7978, allocations: 0 / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7978, allocations: 0 / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7978, allocations: 0 / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.8002, allocations: 0.7444 MB / 1.217 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8002, allocations: 0 / 1.217 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.8003, allocations: 11.92 kB / 1.217 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8003, allocations: 0 / 1.217 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.8003, allocations: 19.98 kB / 1.218 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.8003, allocations: 7.984 kB / 1.218 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8003, allocations: 0 / 1.218 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.8021, allocations: 475.2 kB / 1.218 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.8024, allocations: 196.5 kB / 1.218 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.8025, allocations: 15.98 kB / 1.218 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.803, allocations: 27.97 kB / 1.218 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.803, allocations: 7.984 kB / 1.218 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/0.8031, allocations: 63.95 kB / 1.218 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000288/0.8034, allocations: 295.1 kB / 1.219 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8034, allocations: 0 / 1.219 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000361/0.8038, allocations: 68 kB / 1.219 GB, free: 1.484 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.002064/0.8058, allocations: 1.022 MB / 1.22 GB, free: 444 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.8071, allocations: 438.5 kB / 1.22 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8071, allocations: 0 / 1.22 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007872/0.8079, allocations: 126.8 kB / 1.22 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.8083, allocations: 27.17 kB / 1.22 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.8126, allocations: 2.783 MB / 1.223 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.813, allocations: 0.7823 MB / 1.224 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.983e-05/0.8131, allocations: 13.08 kB / 1.224 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.8131, allocations: 23.42 kB / 1.224 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.8131, allocations: 3.938 kB / 1.224 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.8398, allocations: 6.241 MB / 1.23 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.64, allocations: 15.91 kB / 1.23 GB, free: 5.828 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