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.001798/0.001798, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002192/0.002192, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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 2.83/2.83, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0.7656 kB / 0.8108 GB, free: 1 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.303e-05/4.483e-05, allocations: 6.25 kB / 0.8108 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003334/0.003379, allocations: 1.525 MB / 0.8122 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.004956, allocations: 0.5372 MB / 0.8128 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.00504, allocations: 1.25 kB / 0.8128 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.00517, allocations: 11.86 kB / 0.8128 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.005307, allocations: 23.88 kB / 0.8128 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.006373, allocations: 321.1 kB / 0.8131 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.007454, allocations: 487.4 kB / 0.8136 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.00751, allocations: 4.656 kB / 0.8136 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007388/0.008248, allocations: 355.6 kB / 0.8139 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.008633, allocations: 125.8 kB / 0.814 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.008746, allocations: 28 kB / 0.8141 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.008841, allocations: 28 kB / 0.8141 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.009013, allocations: 124.4 kB / 0.8142 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.009222, allocations: 127.7 kB / 0.8143 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006986/0.009921, allocations: 467.5 kB / 0.8148 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.009924, allocations: 0 / 0.8148 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.393e-06/0.009926, allocations: 0 / 0.8148 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.009939, allocations: 0.6562 kB / 0.8148 GB, free: 12.89 MB / 0.7292 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.001673/0.01161, allocations: 0.7956 MB / 0.8156 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.01166, allocations: 8.531 kB / 0.8156 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.01187, allocations: 65.22 kB / 0.8156 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.01234, allocations: 252 kB / 0.8159 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/0.01241, allocations: 25.61 kB / 0.8159 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-05/0.0125, allocations: 32.3 kB / 0.8159 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.01364, allocations: 231.1 kB / 0.8161 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.01365, allocations: 192 / 0.8161 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.01368, allocations: 384 / 0.8161 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.01369, allocations: 384 / 0.8161 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009038/0.01459, allocations: 129.1 kB / 0.8163 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.01511, allocations: 274.4 kB / 0.8165 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.01634, allocations: 184 kB / 0.8167 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008439/0.01718, allocations: 119.2 kB / 0.8168 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.01722, allocations: 4 kB / 0.8168 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.01835, allocations: 240.5 kB / 0.8171 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.01835, allocations: 0.5312 kB / 0.8171 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.003017/0.02137, allocations: 0.5323 MB / 0.8176 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.02143, allocations: 63.33 kB / 0.8176 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.02197, allocations: 415 kB / 0.818 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-05/0.02205, allocations: 41.69 kB / 0.8181 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.02218, allocations: 97.44 kB / 0.8182 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.02225, allocations: 40.34 kB / 0.8182 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.0225, allocations: 125.5 kB / 0.8183 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.02269, allocations: 323.5 kB / 0.8186 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.02306, allocations: 195.3 kB / 0.8188 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.02348, allocations: 245.5 kB / 0.8191 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.02393, allocations: 281.5 kB / 0.8193 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.02394, allocations: 0 / 0.8193 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001114/0.02505, allocations: 0.5756 MB / 0.8199 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.02517, allocations: 85.02 kB / 0.82 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.02518, allocations: 4 kB / 0.82 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/0.02521, allocations: 4 kB / 0.82 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.02541, allocations: 23.92 kB / 0.82 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.02542, allocations: 8.812 kB / 0.82 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008631/0.02628, allocations: 71.25 kB / 0.8201 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.02639, allocations: 59.97 kB / 0.8201 GB, free: 7.125 MB / 0.7292 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.0002706/0.02666, allocations: 191.7 kB / 0.8203 GB, free: 6.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.02676, allocations: 47.77 kB / 0.8204 GB, free: 6.883 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.687e-05/0.02684, allocations: 39.67 kB / 0.8204 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.02684, allocations: 0.5 kB / 0.8204 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.02685, allocations: 0 / 0.8204 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.02685, allocations: 5.844 kB / 0.8204 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.0295, allocations: 0.7139 MB / 0.8211 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.0295, allocations: 0.6562 kB / 0.8211 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.02956, allocations: 7.984 kB / 0.8211 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.02956, allocations: 2.156 kB / 0.8211 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.02962, allocations: 23.92 kB / 0.8211 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.02963, allocations: 4 kB / 0.8211 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.02963, allocations: 3.938 kB / 0.8211 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.03183, allocations: 0.5065 MB / 0.8216 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.03212, allocations: 133.5 kB / 0.8218 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/0.0322, allocations: 19.92 kB / 0.8218 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.03274, allocations: 40.89 kB / 0.8218 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.03278, allocations: 9.078 kB / 0.8218 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.662e-05/0.03287, allocations: 55.98 kB / 0.8219 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003696/0.03324, allocations: 295.1 kB / 0.8222 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.03324, allocations: 5.062 kB / 0.8222 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003906/0.03363, allocations: 63.98 kB / 0.8222 GB, free: 4.922 MB / 0.7292 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.0001938/0.03382, allocations: 117.1 kB / 0.8223 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.03539, allocations: 491.8 kB / 0.8228 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.03539, allocations: 5.594 kB / 0.8228 GB, free: 4.277 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008806/0.03627, allocations: 129.8 kB / 0.8229 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.0367, allocations: 47 kB / 0.823 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.03845, allocations: 0.5894 MB / 0.8236 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.03867, allocations: 166.7 kB / 0.8237 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.753e-05/0.03873, allocations: 13.72 kB / 0.8237 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.03879, allocations: 20.48 kB / 0.8237 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of SimCode: time 7.62e-07/0.03879, allocations: 0 / 0.8237 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of Templates: time 0.01181/0.0506, allocations: 5.907 MB / 0.8295 GB, free: 13.34 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] 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: 7.823416167986579]