Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_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.008274/0.008275, allocations: 102 kB / 15.73 MB, free: 6.051 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.001829/0.001829, allocations: 195 kB / 16.68 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.934/2.934, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 64.12 kB / 1.054 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3114, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002819/0.3142, allocations: 1.519 MB / 1.209 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3156, allocations: 0.5423 MB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3157, allocations: 0 / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.3159, allocations: 7.875 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.3161, allocations: 27.84 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3172, allocations: 301.3 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007101/0.3179, allocations: 0.5072 MB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/0.318, allocations: 8 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004687/0.3185, allocations: 275.6 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.3188, allocations: 145.6 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.41e-05/0.3189, allocations: 28 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.319, allocations: 28 kB / 1.211 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.3192, allocations: 119.7 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.3194, allocations: 187 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.3199, allocations: 422.9 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.32, allocations: 4 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.224e-06/0.32, allocations: 0 / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.32, allocations: 0 / 1.211 GB, free: 6.102 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001558/0.3215, allocations: 0.8626 MB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.3216, allocations: 8.625 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.032e-05/0.3217, allocations: 38.75 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.3218, allocations: 56.39 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.3223, allocations: 314.2 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.3223, allocations: 16.38 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/0.3224, allocations: 28.36 kB / 1.213 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.3235, allocations: 212.6 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3235, allocations: 3.938 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.3236, allocations: 8 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3236, allocations: 0 / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007856/0.3244, allocations: 103.9 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.3248, allocations: 389.2 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.3259, allocations: 174.4 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008028/0.3267, allocations: 112.8 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.3267, allocations: 7.938 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009943/0.3277, allocations: 227 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.3278, allocations: 0 / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002774/0.3305, allocations: 487.5 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.3306, allocations: 59.39 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.3311, allocations: 421.8 kB / 1.215 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.211e-05/0.3312, allocations: 37.7 kB / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.3313, allocations: 97.44 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.3313, allocations: 27.61 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.3315, allocations: 129.3 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3316, allocations: 322.8 kB / 1.215 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.3319, allocations: 119.9 kB / 1.215 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.3321, allocations: 175.2 kB / 1.215 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.3325, allocations: 279.3 kB / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3325, allocations: 0 / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007547/0.3333, allocations: 480.9 kB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.107e-05/0.3334, allocations: 99.28 kB / 1.216 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3334, allocations: 4 kB / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3334, allocations: 4 kB / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3336, allocations: 19.97 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.3336, allocations: 7.938 kB / 1.216 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.3341, allocations: 59.73 kB / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/0.3342, allocations: 59.98 kB / 1.216 GB, free: 412 kB / 0.9669 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.0002059/0.3344, allocations: 204 kB / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.3345, allocations: 39.47 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/0.3345, allocations: 35.75 kB / 1.217 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3346, allocations: 4 kB / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3346, allocations: 0 / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3346, allocations: 3.984 kB / 1.217 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.3369, allocations: 0.7525 MB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3369, allocations: 0 / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.337, allocations: 4 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.337, allocations: 0 / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.337, allocations: 27.91 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.337, allocations: 4 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3371, allocations: 0 / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.3389, allocations: 478 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.3392, allocations: 200.5 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.108e-05/0.3392, allocations: 12 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.3398, allocations: 31.95 kB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.3398, allocations: 4 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/0.3399, allocations: 59.97 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002774/0.3402, allocations: 295.1 kB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.473e-06/0.3402, allocations: 0 / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003882/0.3406, allocations: 67.92 kB / 1.219 GB, free: 14.11 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.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.002159/0.3428, allocations: 1.032 MB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.3442, allocations: 438.4 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3442, allocations: 0 / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008553/0.345, allocations: 127.2 kB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.3454, allocations: 33.11 kB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.3497, allocations: 2.783 MB / 1.223 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3501, allocations: 0.7785 MB / 1.224 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.851e-05/0.3501, allocations: 13.08 kB / 1.224 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.3502, allocations: 15.44 kB / 1.224 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.3502, allocations: 0 / 1.224 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.3745, allocations: 6.233 MB / 1.23 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/8.063, allocations: 13.17 kB / 1.23 GB, free: 2.441 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches