Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.0009459, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437.8 MB / 0.7128 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004672, allocations: 12 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6333/0.6337, allocations: 153.8 MB / 1.024 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.00206/0.6358, allocations: 1.452 MB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.6374, allocations: 0.6755 MB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.6376, allocations: 0 / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.6377, allocations: 7.875 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.6379, allocations: 31.84 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009225/0.6388, allocations: 335.5 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006807/0.6395, allocations: 0.5345 MB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.6396, allocations: 32.89 kB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005819/0.6402, allocations: 307.1 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.6406, allocations: 171.2 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.6407, allocations: 16 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-05/0.6408, allocations: 19.88 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.641, allocations: 107.7 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.6412, allocations: 228.5 kB / 1.028 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.6417, allocations: 476.8 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6417, allocations: 4 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6417, allocations: 0 / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.6417, allocations: 0 / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001231/0.643, allocations: 0.7692 MB / 1.029 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.643, allocations: 15.98 kB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.6432, allocations: 52.47 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.6436, allocations: 346 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.6437, allocations: 20.55 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.6438, allocations: 32.38 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.6449, allocations: 243.5 kB / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.645, allocations: 3.938 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.645, allocations: 7.984 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.645, allocations: 4 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000859/0.6459, allocations: 123.9 kB / 1.03 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.6472, allocations: 0.6837 MB / 1.03 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.6485, allocations: 198.4 kB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008298/0.6493, allocations: 124.8 kB / 1.031 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.6493, allocations: 7.984 kB / 1.031 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.6504, allocations: 247 kB / 1.031 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.6504, allocations: 4 kB / 1.031 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002921/0.6533, allocations: 0.5226 MB / 1.031 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.6534, allocations: 59.41 kB / 1.031 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005694/0.6539, allocations: 441.8 kB / 1.032 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.6541, allocations: 45.69 kB / 1.032 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.6542, allocations: 97.44 kB / 1.032 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.6542, allocations: 43.52 kB / 1.032 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.6544, allocations: 33.7 kB / 1.032 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6545, allocations: 326.8 kB / 1.032 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.6549, allocations: 143.9 kB / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.6553, allocations: 197.9 kB / 1.033 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.6558, allocations: 306.5 kB / 1.033 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6558, allocations: 0 / 1.033 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001076/0.6569, allocations: 0.5259 MB / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-05/0.657, allocations: 91.38 kB / 1.033 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.657, allocations: 4 kB / 1.034 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.657, allocations: 4 kB / 1.034 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.6572, allocations: 19.92 kB / 1.034 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.6572, allocations: 8 kB / 1.034 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.6578, allocations: 71.97 kB / 1.034 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/0.6579, allocations: 67.92 kB / 1.034 GB, free: 5.422 MB / 0.7794 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002627/0.6582, allocations: 216.8 kB / 1.034 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.6582, allocations: 35.53 kB / 1.034 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.946e-05/0.6583, allocations: 47.77 kB / 1.034 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.6583, allocations: 8 kB / 1.034 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6583, allocations: 0 / 1.034 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6583, allocations: 0 / 1.034 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.6606, allocations: 0.8104 MB / 1.035 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6606, allocations: 0 / 1.035 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.6607, allocations: 7.938 kB / 1.035 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.6607, allocations: 0 / 1.035 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.6607, allocations: 27.91 kB / 1.035 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6607, allocations: 0 / 1.035 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6607, allocations: 4 kB / 1.035 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.6626, allocations: 499.9 kB / 1.035 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.6629, allocations: 240.4 kB / 1.035 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.663, allocations: 23.92 kB / 1.036 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.6635, allocations: 39.97 kB / 1.036 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.6635, allocations: 7.984 kB / 1.036 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-05/0.6636, allocations: 59.97 kB / 1.036 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003672/0.6639, allocations: 315.1 kB / 1.036 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.664, allocations: 4 kB / 1.036 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004189/0.6644, allocations: 71.89 kB / 1.036 GB, free: 2.934 MB / 0.7794 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.000189/0.6646, allocations: 127.2 kB / 1.036 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.666, allocations: 483.7 kB / 1.037 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.666, allocations: 0 / 1.037 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008062/0.6668, allocations: 135.8 kB / 1.037 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.6672, allocations: 38.34 kB / 1.037 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.669, allocations: 0.7834 MB / 1.038 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.6693, allocations: 0.7906 MB / 1.038 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.6694, allocations: 15.44 kB / 1.038 GB, free: 500 kB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.6694, allocations: 0 / 1.038 GB, free: 500 kB / 0.7794 GB Notification: Performance of Templates: time 0.006754/0.6761, allocations: 4.075 MB / 1.042 GB, free: 12.36 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches