Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001216/0.001216, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.2 MB / 0.665 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 59.91 kB / 0.8127 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.742, allocations: 140.4 MB / 0.9498 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003267/0.7453, allocations: 1.568 MB / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.7464, allocations: 0.5392 MB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.7465, allocations: 0 / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.7467, allocations: 7.938 kB / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.7468, allocations: 27.72 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008255/0.7476, allocations: 292.8 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008041/0.7485, allocations: 0.506 MB / 0.9526 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.622e-05/0.7485, allocations: 8.891 kB / 0.9526 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007231/0.7493, allocations: 337.8 kB / 0.953 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.7497, allocations: 164 kB / 0.9531 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.7499, allocations: 25.78 kB / 0.9531 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.7501, allocations: 28.16 kB / 0.9532 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.7502, allocations: 127.6 kB / 0.9533 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.7506, allocations: 194.8 kB / 0.9535 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.751, allocations: 321 kB / 0.9538 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.751, allocations: 1.094 kB / 0.9538 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.751, allocations: 0 / 0.9538 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.7511, allocations: 0 / 0.9538 GB, free: 6.336 MB / 0.7169 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.001912/0.753, allocations: 0.864 MB / 0.9546 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.7531, allocations: 9.438 kB / 0.9546 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.7533, allocations: 50.31 kB / 0.9547 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.7538, allocations: 308.8 kB / 0.955 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.7539, allocations: 19.95 kB / 0.955 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.754, allocations: 29.48 kB / 0.955 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.7554, allocations: 209.9 kB / 0.9552 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7555, allocations: 5.344 kB / 0.9552 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.614e-05/0.7555, allocations: 12.97 kB / 0.9552 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.7555, allocations: 1.188 kB / 0.9552 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.7567, allocations: 113.8 kB / 0.9554 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.7573, allocations: 384.8 kB / 0.9557 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.759, allocations: 185.5 kB / 0.9559 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.7601, allocations: 108.3 kB / 0.956 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.7602, allocations: 1.375 kB / 0.956 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001487/0.7617, allocations: 221 kB / 0.9562 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 3.627e-06/0.7617, allocations: 0 / 0.9562 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0041/0.7658, allocations: 493.7 kB / 0.9567 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.7658, allocations: 56.91 kB / 0.9567 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/0.7665, allocations: 417.2 kB / 0.9571 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.7666, allocations: 37.95 kB / 0.9572 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.7668, allocations: 92.31 kB / 0.9573 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.7668, allocations: 41.05 kB / 0.9573 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.7672, allocations: 131.7 kB / 0.9574 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.7673, allocations: 321.6 kB / 0.9577 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.7677, allocations: 121.5 kB / 0.9578 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.7683, allocations: 170.9 kB / 0.958 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/0.7689, allocations: 287.5 kB / 0.9583 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.7689, allocations: 5.219 kB / 0.9583 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001505/0.7705, allocations: 491.9 kB / 0.9588 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.7706, allocations: 91.88 kB / 0.9588 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.7706, allocations: 1.469 kB / 0.9588 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.7707, allocations: 6.656 kB / 0.9589 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.7709, allocations: 18.33 kB / 0.9589 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.771, allocations: 3.062 kB / 0.9589 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/0.7719, allocations: 63.23 kB / 0.9589 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.7721, allocations: 67.59 kB / 0.959 GB, free: 2.527 MB / 0.7169 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.0004019/0.7725, allocations: 186.6 kB / 0.9592 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.7726, allocations: 41.09 kB / 0.9592 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.7727, allocations: 42.98 kB / 0.9593 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.7728, allocations: 2.156 kB / 0.9593 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.7728, allocations: 1.125 kB / 0.9593 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.7728, allocations: 4 kB / 0.9593 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.7762, allocations: 0.7402 MB / 0.96 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7762, allocations: 1.25 kB / 0.96 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.7763, allocations: 12.05 kB / 0.96 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.7763, allocations: 0 / 0.96 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/0.7764, allocations: 19.73 kB / 0.96 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.7764, allocations: 5.219 kB / 0.96 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.7764, allocations: 7.969 kB / 0.96 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.7791, allocations: 480 kB / 0.9605 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.7795, allocations: 196.9 kB / 0.9607 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.7797, allocations: 16.77 kB / 0.9607 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007538/0.7804, allocations: 28.06 kB / 0.9607 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.7805, allocations: 11.64 kB / 0.9607 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.7806, allocations: 58.59 kB / 0.9608 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004507/0.7811, allocations: 296.9 kB / 0.9611 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7811, allocations: 1.562 kB / 0.9611 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007428/0.7818, allocations: 61.56 kB / 0.9611 GB, free: 1.121 MB / 0.7169 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.0001994/0.782, allocations: 122.7 kB / 0.9612 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002105/0.7842, allocations: 450.2 kB / 0.9617 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7842, allocations: 1.156 kB / 0.9617 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.7855, allocations: 116 kB / 0.9618 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.7861, allocations: 31.98 kB / 0.9618 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.7888, allocations: 0.7089 MB / 0.9625 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/0.7895, allocations: 0.7859 MB / 0.9633 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.358e-05/0.7896, allocations: 18.81 kB / 0.9633 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/0.7896, allocations: 0 / 0.9633 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of Templates: time 0.01137/0.801, allocations: 3.671 MB / 0.9669 GB, free: 13.42 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time