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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007953/0.007953, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001753/0.001753, allocations: 196.6 kB / 16.79 MB, free: 5.809 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.456/1.456, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.2 MB / 0.6649 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 0.8125 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6111/0.6124, allocations: 140.3 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002458/0.6149, allocations: 1.58 MB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.6161, allocations: 0.59 MB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.6162, allocations: 4 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.603e-05/0.6163, allocations: 7.922 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.6164, allocations: 24.28 kB / 0.9517 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.617, allocations: 278.6 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.6174, allocations: 455.5 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.6174, allocations: 9.516 kB / 0.9524 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.6178, allocations: 307.8 kB / 0.9527 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.618, allocations: 159.3 kB / 0.9529 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.866e-05/0.6181, allocations: 13.12 kB / 0.9529 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.6182, allocations: 13.38 kB / 0.9529 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.6183, allocations: 116.8 kB / 0.953 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.6185, allocations: 182.3 kB / 0.9532 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.6188, allocations: 314.8 kB / 0.9535 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6188, allocations: 0 / 0.9535 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6188, allocations: 0 / 0.9535 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.6188, allocations: 0 / 0.9535 GB, free: 6.445 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.001183/0.62, allocations: 0.8669 MB / 0.9543 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6201, allocations: 10.22 kB / 0.9543 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.6202, allocations: 53.8 kB / 0.9544 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.6205, allocations: 313.5 kB / 0.9547 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/0.6206, allocations: 15.72 kB / 0.9547 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.6208, allocations: 25.39 kB / 0.9547 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.622, allocations: 218.6 kB / 0.9549 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.622, allocations: 192 / 0.9549 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.622, allocations: 9 kB / 0.955 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6221, allocations: 2.344 kB / 0.955 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/0.6229, allocations: 98.64 kB / 0.955 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.6233, allocations: 403 kB / 0.9554 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.6245, allocations: 170.1 kB / 0.9556 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008774/0.6254, allocations: 111.9 kB / 0.9557 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.6255, allocations: 2.75 kB / 0.9557 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.6265, allocations: 216.1 kB / 0.9559 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.725e-06/0.6265, allocations: 4 kB / 0.9559 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002984/0.6295, allocations: 490.5 kB / 0.9564 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.6296, allocations: 67.86 kB / 0.9564 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.63, allocations: 413.1 kB / 0.9568 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.983e-05/0.6301, allocations: 41.59 kB / 0.9569 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.6302, allocations: 92.73 kB / 0.957 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.6302, allocations: 45.78 kB / 0.957 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/0.6306, allocations: 127.9 kB / 0.9571 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.6306, allocations: 324.9 kB / 0.9574 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.631, allocations: 121.4 kB / 0.9576 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.6313, allocations: 171.4 kB / 0.9577 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.6317, allocations: 288.5 kB / 0.958 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6317, allocations: 0 / 0.958 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008942/0.6326, allocations: 488.1 kB / 0.9585 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.021e-05/0.6327, allocations: 92.19 kB / 0.9586 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6327, allocations: 1.219 kB / 0.9586 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.6327, allocations: 7.25 kB / 0.9586 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.6329, allocations: 22.14 kB / 0.9586 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.6329, allocations: 3.281 kB / 0.9586 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/0.6335, allocations: 62.53 kB / 0.9586 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/0.6336, allocations: 60.92 kB / 0.9587 GB, free: 2.641 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.0002468/0.6338, allocations: 198.3 kB / 0.9589 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.6339, allocations: 40.28 kB / 0.9589 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.633e-05/0.634, allocations: 43.23 kB / 0.959 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.634, allocations: 2.156 kB / 0.959 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.634, allocations: 0 / 0.959 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.634, allocations: 5.062 kB / 0.959 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.6364, allocations: 0.7532 MB / 0.9597 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.6364, allocations: 0 / 0.9597 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.6365, allocations: 2.812 kB / 0.9597 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6365, allocations: 1.344 kB / 0.9597 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.6365, allocations: 19.72 kB / 0.9597 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6366, allocations: 1.188 kB / 0.9597 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6366, allocations: 3.938 kB / 0.9597 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.6384, allocations: 477.3 kB / 0.9602 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.6386, allocations: 199.1 kB / 0.9604 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.103e-05/0.6387, allocations: 13.75 kB / 0.9604 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.6393, allocations: 27.47 kB / 0.9604 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.6393, allocations: 13.14 kB / 0.9604 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.6394, allocations: 56.75 kB / 0.9605 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002642/0.6397, allocations: 293.9 kB / 0.9608 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6397, allocations: 0 / 0.9608 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004192/0.6401, allocations: 70.17 kB / 0.9608 GB, free: 1.227 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.0001365/0.6402, allocations: 120 kB / 0.961 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.6416, allocations: 442.1 kB / 0.9614 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6416, allocations: 0 / 0.9614 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000845/0.6424, allocations: 120.9 kB / 0.9615 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.6428, allocations: 32.11 kB / 0.9615 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.6444, allocations: 0.7091 MB / 0.9622 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.6447, allocations: 0.7755 MB / 0.963 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.6447, allocations: 13.84 kB / 0.963 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.6448, allocations: 0 / 0.963 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.00635/0.6511, allocations: 3.683 MB / 0.9666 GB, free: 13.53 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