Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 107.6 kB / 16.41 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.001595/0.001595, allocations: 181.8 kB / 17.34 MB, free: 5.629 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.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.414/2.414, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 64.12 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9369/0.9384, allocations: 151.6 MB / 1.167 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002624/0.941, allocations: 1.529 MB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.9423, allocations: 0.5362 MB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.9423, allocations: 0 / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.9425, allocations: 7.875 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.9426, allocations: 35.62 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.9434, allocations: 326.3 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005159/0.9439, allocations: 0.4993 MB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.9439, allocations: 4 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.9443, allocations: 279.6 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.9446, allocations: 139.7 kB / 1.171 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.924e-05/0.9447, allocations: 24 kB / 1.171 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.9447, allocations: 35.94 kB / 1.171 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.9449, allocations: 115.6 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.9451, allocations: 183.1 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.9455, allocations: 420.6 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9455, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9455, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.9455, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 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.001232/0.9468, allocations: 0.8701 MB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.9468, allocations: 12.92 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.9469, allocations: 52.47 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.9474, allocations: 306.3 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.9474, allocations: 20.36 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.9475, allocations: 24.38 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.9485, allocations: 213.9 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.9486, allocations: 192 / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.9486, allocations: 3.938 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9486, allocations: 8 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008106/0.9494, allocations: 105.2 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.9499, allocations: 385.2 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.951, allocations: 178.5 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008087/0.9518, allocations: 112.8 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.9518, allocations: 11.86 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.9529, allocations: 223.2 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.9529, allocations: 0 / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002754/0.9557, allocations: 487.8 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.9558, allocations: 63.39 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.9563, allocations: 405.9 kB / 1.175 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-05/0.9563, allocations: 41.69 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.9564, allocations: 101.4 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.9565, allocations: 43.34 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.9567, allocations: 137.2 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.9569, allocations: 314.8 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.9571, allocations: 115.9 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.9575, allocations: 169.9 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.9579, allocations: 283.6 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9579, allocations: 0 / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008372/0.9587, allocations: 488.7 kB / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.9588, allocations: 91.31 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.9589, allocations: 4 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.9589, allocations: 3.984 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.9591, allocations: 27.92 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.9591, allocations: 4 kB / 1.176 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.9596, allocations: 55.98 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.061e-05/0.9597, allocations: 63.97 kB / 1.176 GB, free: 10.14 MB / 0.9044 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.0002708/0.96, allocations: 192 kB / 1.177 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.9601, allocations: 39.47 kB / 1.177 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.9602, allocations: 47.67 kB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.9602, allocations: 4 kB / 1.177 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.9602, allocations: 4 kB / 1.177 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.9602, allocations: 0 / 1.177 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.9626, allocations: 0.7404 MB / 1.177 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9626, allocations: 0 / 1.177 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.9627, allocations: 15.98 kB / 1.177 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.9627, allocations: 4 kB / 1.177 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.9627, allocations: 15.98 kB / 1.177 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.9627, allocations: 0 / 1.177 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.9627, allocations: 3.984 kB / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.9645, allocations: 471.2 kB / 1.178 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.9648, allocations: 200.5 kB / 1.178 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.9649, allocations: 15.98 kB / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.9654, allocations: 31.91 kB / 1.178 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.9654, allocations: 11.98 kB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.9655, allocations: 55.97 kB / 1.178 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003034/0.9658, allocations: 307 kB / 1.179 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9658, allocations: 0 / 1.179 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003822/0.9662, allocations: 60 kB / 1.179 GB, free: 7.852 MB / 0.9044 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.0001613/0.9664, allocations: 112.7 kB / 1.179 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.9677, allocations: 448.3 kB / 1.179 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.9677, allocations: 0 / 1.179 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008202/0.9686, allocations: 119.9 kB / 1.179 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.9689, allocations: 25.48 kB / 1.179 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.9705, allocations: 0.5885 MB / 1.18 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.9709, allocations: 0.7747 MB / 1.181 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.971, allocations: 15.44 kB / 1.181 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.971, allocations: 3.938 kB / 1.181 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of Templates: time 0.006381/0.9774, allocations: 3.679 MB / 1.184 GB, free: 1.961 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches