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.002558/0.002558, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.003059/0.003059, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.618/1.618, allocations: 177.1 MB / 203.9 MB, free: 5.633 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 3.02/3.02, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] 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.232e-06/1.232e-06, allocations: 0 / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.309e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002948/0.002981, allocations: 1.551 MB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.004687, allocations: 0.5252 MB / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.004736, allocations: 0 / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.004838, allocations: 11.88 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.004952, allocations: 29.38 kB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008654/0.005818, allocations: 323.9 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006112/0.006429, allocations: 483.4 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.00647, allocations: 4.531 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/0.007028, allocations: 357.2 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.00736, allocations: 123.7 kB / 0.8141 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.007493, allocations: 28 kB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.00763, allocations: 28.59 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.007789, allocations: 123.7 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.007993, allocations: 132.4 kB / 0.8144 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006294/0.008622, allocations: 458.7 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.008626, allocations: 1.156 kB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.008627, allocations: 0 / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.008633, allocations: 0 / 0.8148 GB, free: 14.03 MB / 0.7761 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.001524/0.01016, allocations: 0.9232 MB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.01019, allocations: 8.031 kB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.01035, allocations: 58.45 kB / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.01089, allocations: 266.8 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.01094, allocations: 20.34 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.01102, allocations: 24.38 kB / 0.8161 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.01168, allocations: 204.2 kB / 0.8163 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.01169, allocations: 192 / 0.8163 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.01171, allocations: 4.375 kB / 0.8163 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.01172, allocations: 4.312 kB / 0.8163 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.01215, allocations: 86.56 kB / 0.8164 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.0127, allocations: 336.4 kB / 0.8167 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.01336, allocations: 150.9 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.01377, allocations: 89.2 kB / 0.8169 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.0138, allocations: 4 kB / 0.8169 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006021/0.0144, allocations: 206.9 kB / 0.8171 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.01441, allocations: 0 / 0.8171 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.001653/0.01606, allocations: 441.5 kB / 0.8175 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.01612, allocations: 63.39 kB / 0.8176 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.01666, allocations: 466.7 kB / 0.818 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.01673, allocations: 42.22 kB / 0.8181 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.01685, allocations: 144.1 kB / 0.8182 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.01691, allocations: 40.28 kB / 0.8182 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.01716, allocations: 144.2 kB / 0.8184 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002924/0.01745, allocations: 0.4962 MB / 0.8189 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.01785, allocations: 211.3 kB / 0.8191 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.01832, allocations: 286 kB / 0.8193 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/0.01908, allocations: 319.8 kB / 0.8196 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01908, allocations: 7.938 kB / 0.8197 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001118/0.0202, allocations: 0.622 MB / 0.8203 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.0203, allocations: 83.38 kB / 0.8203 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.02031, allocations: 0 / 0.8203 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.02033, allocations: 5.719 kB / 0.8203 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.02055, allocations: 31.97 kB / 0.8204 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.02056, allocations: 11.88 kB / 0.8204 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.02092, allocations: 40.86 kB / 0.8204 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.02103, allocations: 63.98 kB / 0.8205 GB, free: 7.863 MB / 0.7761 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.0002214/0.02125, allocations: 187.6 kB / 0.8207 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.02134, allocations: 39.77 kB / 0.8207 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.865e-05/0.02142, allocations: 44.73 kB / 0.8207 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.02142, allocations: 0 / 0.8207 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.02142, allocations: 0 / 0.8207 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.02143, allocations: 8.984 kB / 0.8208 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.02319, allocations: 0.7364 MB / 0.8215 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.02319, allocations: 5.875 kB / 0.8215 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.02324, allocations: 11.92 kB / 0.8215 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.02324, allocations: 0 / 0.8215 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.02328, allocations: 27.92 kB / 0.8215 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.02329, allocations: 0 / 0.8215 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.02329, allocations: 1.344 kB / 0.8215 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.02447, allocations: 0.4918 MB / 0.822 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.02479, allocations: 125.4 kB / 0.8221 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.02487, allocations: 20.58 kB / 0.8221 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.02515, allocations: 18.48 kB / 0.8222 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.02519, allocations: 7.984 kB / 0.8222 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-05/0.02528, allocations: 63.97 kB / 0.8222 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003222/0.0256, allocations: 283.1 kB / 0.8225 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.0256, allocations: 0 / 0.8225 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003749/0.02598, allocations: 67.98 kB / 0.8226 GB, free: 5.676 MB / 0.7761 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.0001817/0.02616, allocations: 123.5 kB / 0.8227 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.02734, allocations: 0.5848 MB / 0.8233 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02735, allocations: 1.062 kB / 0.8233 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.02778, allocations: 108.1 kB / 0.8234 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.02817, allocations: 57.56 kB / 0.8234 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.02931, allocations: 498.9 kB / 0.8239 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.02951, allocations: 166.8 kB / 0.824 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.983e-05/0.02957, allocations: 13.14 kB / 0.8241 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.02962, allocations: 20.5 kB / 0.8241 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of SimCode: time 7.52e-07/0.02962, allocations: 3.938 kB / 0.8241 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.01154/0.04115, allocations: 5.906 MB / 0.8298 GB, free: 14.09 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] 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: 8.10107906803023]