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.01016/0.01016, allocations: 102 kB / 15.73 MB, free: 6.039 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.002284/0.002285, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.91 kB / 1.054 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7474, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002622/0.75, allocations: 1.519 MB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.7513, allocations: 0.5501 MB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.7514, allocations: 0 / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.399e-05/0.7515, allocations: 11.86 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.7516, allocations: 19.88 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.7524, allocations: 306.5 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005545/0.753, allocations: 0.5072 MB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.753, allocations: 8 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.7535, allocations: 271.6 kB / 1.21 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.7538, allocations: 143.7 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.174e-05/0.7539, allocations: 28 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.856e-05/0.754, allocations: 28 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.7541, allocations: 115.6 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.7543, allocations: 183.1 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.7547, allocations: 432.9 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7547, allocations: 0 / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7547, allocations: 0 / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.7547, allocations: 3.938 kB / 1.211 GB, free: 9.484 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.001209/0.756, allocations: 0.8586 MB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.756, allocations: 8.031 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.7561, allocations: 42.73 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.7562, allocations: 48.47 kB / 1.212 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.7566, allocations: 306.3 kB / 1.212 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.7567, allocations: 24.36 kB / 1.212 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/0.7567, allocations: 32.34 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00098/0.7577, allocations: 213.9 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.7577, allocations: 3.938 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.7578, allocations: 4 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.7578, allocations: 0 / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.7586, allocations: 107.9 kB / 1.213 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.759, allocations: 393.1 kB / 1.213 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.7601, allocations: 170.5 kB / 1.213 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007789/0.7609, allocations: 112.8 kB / 1.213 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.7609, allocations: 0 / 1.213 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000969/0.7619, allocations: 233.7 kB / 1.214 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.033e-06/0.7619, allocations: 0 / 1.214 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002638/0.7646, allocations: 484.8 kB / 1.214 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.7646, allocations: 59.41 kB / 1.214 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.765, allocations: 405.9 kB / 1.215 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/0.7651, allocations: 41.69 kB / 1.215 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.7652, allocations: 101.3 kB / 1.215 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.7652, allocations: 43.47 kB / 1.215 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.7654, allocations: 137.2 kB / 1.215 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.7655, allocations: 318.8 kB / 1.215 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.7658, allocations: 119.9 kB / 1.215 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.7661, allocations: 163.2 kB / 1.215 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.7665, allocations: 278.8 kB / 1.216 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7665, allocations: 3.938 kB / 1.216 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007829/0.7673, allocations: 487.2 kB / 1.216 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-05/0.7673, allocations: 93.03 kB / 1.216 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7674, allocations: 4 kB / 1.216 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7674, allocations: 4 kB / 1.216 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.7676, allocations: 27.92 kB / 1.216 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.7676, allocations: 7.984 kB / 1.216 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.7681, allocations: 51.92 kB / 1.216 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/0.7682, allocations: 63.98 kB / 1.216 GB, free: 3.781 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.0002124/0.7684, allocations: 192 kB / 1.217 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.7685, allocations: 43.41 kB / 1.217 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.717e-05/0.7685, allocations: 43.73 kB / 1.217 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7685, allocations: 7.938 kB / 1.217 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7686, allocations: 0 / 1.217 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7686, allocations: 0 / 1.217 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.7709, allocations: 0.7521 MB / 1.217 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.7709, allocations: 3.984 kB / 1.217 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.7709, allocations: 4 kB / 1.217 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7709, allocations: 0 / 1.217 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.771, allocations: 23.97 kB / 1.217 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.771, allocations: 0 / 1.217 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.771, allocations: 0 / 1.217 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.7728, allocations: 477.5 kB / 1.218 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.7731, allocations: 200.5 kB / 1.218 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.7732, allocations: 12 kB / 1.218 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.7737, allocations: 31.97 kB / 1.218 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.7737, allocations: 11.92 kB / 1.218 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/0.7738, allocations: 55.97 kB / 1.218 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002717/0.7741, allocations: 299.1 kB / 1.219 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7741, allocations: 4 kB / 1.219 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003681/0.7745, allocations: 63.98 kB / 1.219 GB, free: 1.488 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.002075/0.7765, allocations: 1.02 MB / 1.22 GB, free: 448 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.7778, allocations: 431.9 kB / 1.22 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7779, allocations: 384 / 1.22 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008035/0.7787, allocations: 127.9 kB / 1.22 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.779, allocations: 21.55 kB / 1.22 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.7831, allocations: 2.802 MB / 1.223 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.7835, allocations: 0.7745 MB / 1.224 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.749e-05/0.7836, 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.029e-05/0.7837, allocations: 23.42 kB / 1.224 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.7837, allocations: 0 / 1.224 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.8087, allocations: 6.244 MB / 1.23 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/8.419, allocations: 16.58 kB / 1.23 GB, free: 5.82 MB / 0.9512 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