Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8687/0.8687, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.753/1.753, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9809 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.323e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001677/0.001691, allocations: 1.521 MB / 0.9824 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.002552, allocations: 0.5303 MB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.002606, allocations: 0 / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.566e-05/0.002691, allocations: 7.875 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.884e-05/0.00279, allocations: 27.84 kB / 0.983 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006178/0.003408, allocations: 318.4 kB / 0.9833 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.003779, allocations: 491.4 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.003815, allocations: 7.984 kB / 0.9837 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.004136, allocations: 351.6 kB / 0.9841 GB, free: 15.4 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.004321, allocations: 127.7 kB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.004365, allocations: 28 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.004417, allocations: 28 kB / 0.9843 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.154e-05/0.004508, allocations: 119.7 kB / 0.9844 GB, free: 15.1 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.983e-05/0.004608, allocations: 131.7 kB / 0.9845 GB, free: 14.97 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.005052, allocations: 462.7 kB / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005054, allocations: 0 / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005055, allocations: 0 / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.005059, allocations: 0 / 0.9849 GB, free: 14.52 MB / 0.948 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.0007643/0.005823, allocations: 0.8105 MB / 0.9857 GB, free: 13.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.005858, allocations: 8.031 kB / 0.9857 GB, free: 13.63 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.005893, allocations: 38.75 kB / 0.9858 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.005966, allocations: 56.69 kB / 0.9858 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.006206, allocations: 248.1 kB / 0.9861 GB, free: 13.26 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.006237, allocations: 12.36 kB / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/0.006283, allocations: 40.34 kB / 0.9861 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.006805, allocations: 225.9 kB / 0.9863 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.006813, allocations: 4.125 kB / 0.9863 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.006834, allocations: 12.36 kB / 0.9863 GB, free: 12.97 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.00684, allocations: 4.125 kB / 0.9863 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.007202, allocations: 115.9 kB / 0.9865 GB, free: 12.85 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.007466, allocations: 312.4 kB / 0.9868 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.007977, allocations: 174.5 kB / 0.9869 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.008328, allocations: 120.8 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.008347, allocations: 4 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004704/0.008817, allocations: 235.1 kB / 0.9873 GB, free: 11.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.008819, allocations: 0 / 0.9873 GB, free: 11.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.00127/0.01009, allocations: 0.5322 MB / 0.9878 GB, free: 11.42 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.01013, allocations: 63.39 kB / 0.9878 GB, free: 11.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.01039, allocations: 405.9 kB / 0.9882 GB, free: 10.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.01043, allocations: 45.69 kB / 0.9883 GB, free: 10.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.01049, allocations: 97.44 kB / 0.9884 GB, free: 10.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.01052, allocations: 39.69 kB / 0.9884 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.01064, allocations: 125.5 kB / 0.9885 GB, free: 10.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.01072, allocations: 322.8 kB / 0.9888 GB, free: 10.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.01093, allocations: 199.2 kB / 0.989 GB, free: 10.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.01115, allocations: 249.3 kB / 0.9893 GB, free: 9.809 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.01138, allocations: 267.2 kB / 0.9895 GB, free: 9.516 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.01138, allocations: 4 kB / 0.9895 GB, free: 9.512 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005433/0.01193, allocations: 0.565 MB / 0.9901 GB, free: 8.918 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.01197, allocations: 79.38 kB / 0.9901 GB, free: 8.828 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.01198, allocations: 0 / 0.9901 GB, free: 8.828 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.01199, allocations: 7.938 kB / 0.9902 GB, free: 8.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/0.01209, allocations: 32.03 kB / 0.9902 GB, free: 8.789 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.0121, allocations: 4 kB / 0.9902 GB, free: 8.785 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.01233, allocations: 67.84 kB / 0.9903 GB, free: 8.719 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/0.01239, allocations: 63.97 kB / 0.9903 GB, free: 8.656 MB / 0.948 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.0001364/0.01252, allocations: 195.7 kB / 0.9905 GB, free: 8.457 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.01256, allocations: 35.77 kB / 0.9905 GB, free: 8.422 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.01259, allocations: 43.69 kB / 0.9906 GB, free: 8.379 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.0126, allocations: 7.938 kB / 0.9906 GB, free: 8.371 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.0126, allocations: 0 / 0.9906 GB, free: 8.371 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01261, allocations: 3.984 kB / 0.9906 GB, free: 8.367 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.01377, allocations: 0.7344 MB / 0.9913 GB, free: 7.582 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01377, allocations: 7.938 kB / 0.9913 GB, free: 7.574 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.01379, allocations: 7.984 kB / 0.9913 GB, free: 7.566 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01379, allocations: 0 / 0.9913 GB, free: 7.566 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.01382, allocations: 19.98 kB / 0.9913 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01382, allocations: 4 kB / 0.9913 GB, free: 7.543 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01382, allocations: 3.938 kB / 0.9913 GB, free: 7.539 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.01484, allocations: 0.4995 MB / 0.9918 GB, free: 7.023 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.015, allocations: 137.5 kB / 0.992 GB, free: 6.891 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.01504, allocations: 8 kB / 0.992 GB, free: 6.883 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.01526, allocations: 47.89 kB / 0.992 GB, free: 6.836 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.01529, allocations: 15.92 kB / 0.992 GB, free: 6.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.01533, allocations: 51.98 kB / 0.9921 GB, free: 6.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001772/0.0155, allocations: 295.1 kB / 0.9924 GB, free: 6.488 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.0155, allocations: 4 kB / 0.9924 GB, free: 6.484 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002238/0.01573, allocations: 71.98 kB / 0.9924 GB, free: 6.414 MB / 0.948 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.001063/0.01679, allocations: 1.055 MB / 0.9935 GB, free: 5.336 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006977/0.01749, allocations: 489.9 kB / 0.9939 GB, free: 4.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01749, allocations: 0 / 0.9939 GB, free: 4.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.01785, allocations: 119.9 kB / 0.994 GB, free: 4.703 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.01809, allocations: 40.44 kB / 0.9941 GB, free: 4.664 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.02066, allocations: 3.126 MB / 0.9971 GB, free: 1.352 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.954e-05/0.02076, allocations: 170.8 kB / 0.9973 GB, free: 1.168 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.085e-05/0.0208, allocations: 13.14 kB / 0.9973 GB, free: 1.152 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.02085, allocations: 24.48 kB / 0.9973 GB, free: 1.129 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.02085, allocations: 0 / 0.9973 GB, free: 1.129 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.04054, allocations: 7.938 MB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.18, allocations: 15.94 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.187871447764337]