Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001758/0.001758, 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.002406/0.002406, allocations: 161.6 kB / 23.55 MB, free: 0.8945 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.572/1.572, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.898/2.898, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.083e-06/2.083e-06, allocations: 0 / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.07e-05, allocations: 7.25 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00294/0.002971, allocations: 1.521 MB / 0.8122 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.004411, allocations: 0.5252 MB / 0.8128 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.186e-05/0.004473, allocations: 0 / 0.8128 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.004582, allocations: 11.86 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.004721, allocations: 32.84 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.005742, allocations: 317.4 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007143/0.006456, allocations: 487.4 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.006509, allocations: 7.984 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000675/0.007184, allocations: 353.2 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.007563, allocations: 129.4 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.007683, allocations: 24 kB / 0.8141 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.007786, allocations: 29.03 kB / 0.8141 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.007959, allocations: 119.6 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.008168, allocations: 127.7 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006329/0.008801, allocations: 471.4 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.008805, allocations: 0 / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008806, allocations: 1.688 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.008819, allocations: 4 kB / 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.001617/0.01044, allocations: 0.7912 MB / 0.8156 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.01049, allocations: 12.61 kB / 0.8156 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.01069, allocations: 56.7 kB / 0.8156 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/0.01124, allocations: 260.8 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/0.01132, allocations: 20.31 kB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.01141, allocations: 29.52 kB / 0.8159 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.01263, allocations: 235.4 kB / 0.8161 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.01265, allocations: 192 / 0.8161 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.01268, allocations: 384 / 0.8161 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.01269, allocations: 6.125 kB / 0.8161 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.01356, allocations: 112.4 kB / 0.8163 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.0142, allocations: 285 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.01538, allocations: 185.3 kB / 0.8167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008222/0.0162, allocations: 119.4 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.01623, allocations: 0 / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.01734, allocations: 237.7 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.01734, allocations: 0.7188 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.002972/0.02032, allocations: 0.5287 MB / 0.8176 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.02038, allocations: 63.34 kB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.02091, allocations: 417.8 kB / 0.818 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.02101, allocations: 38.61 kB / 0.8181 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.02113, allocations: 101.4 kB / 0.8182 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.02119, allocations: 36.64 kB / 0.8182 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/0.02143, allocations: 125.5 kB / 0.8183 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.02161, allocations: 325 kB / 0.8186 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.022, allocations: 187.3 kB / 0.8188 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.02242, allocations: 249.3 kB / 0.819 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.02289, allocations: 277.9 kB / 0.8193 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.02289, allocations: 0 / 0.8193 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001123/0.02401, allocations: 0.59 MB / 0.8199 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.977e-05/0.02411, allocations: 84.84 kB / 0.82 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.02412, allocations: 0 / 0.82 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.02414, allocations: 7.938 kB / 0.82 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.02432, allocations: 15.98 kB / 0.82 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.02433, allocations: 16.41 kB / 0.82 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005718/0.02491, allocations: 66.44 kB / 0.8201 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.02501, allocations: 67.92 kB / 0.8201 GB, free: 8.27 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.0002646/0.02528, allocations: 193 kB / 0.8203 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-05/0.02538, allocations: 47.75 kB / 0.8204 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.508e-05/0.02545, allocations: 39.69 kB / 0.8204 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.02546, allocations: 1.031 kB / 0.8204 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.02546, allocations: 4 kB / 0.8204 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.02547, allocations: 7.938 kB / 0.8204 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.02795, allocations: 0.7137 MB / 0.8211 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.02796, allocations: 0 / 0.8211 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.028, allocations: 4 kB / 0.8211 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.028, allocations: 0 / 0.8211 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.02804, allocations: 27.91 kB / 0.8211 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.02805, allocations: 7.938 kB / 0.8211 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02805, allocations: 0 / 0.8211 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.03005, allocations: 0.4982 MB / 0.8216 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.03033, allocations: 138.5 kB / 0.8218 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/0.03041, allocations: 15.94 kB / 0.8218 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.03093, allocations: 33.06 kB / 0.8218 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.03098, allocations: 11.98 kB / 0.8218 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-05/0.03106, allocations: 61.06 kB / 0.8219 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003549/0.03141, allocations: 295.1 kB / 0.8222 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.03141, allocations: 0 / 0.8222 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003883/0.0318, allocations: 66.58 kB / 0.8222 GB, free: 6.07 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.0002023/0.032, allocations: 120 kB / 0.8223 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.03353, allocations: 484.7 kB / 0.8228 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03353, allocations: 0 / 0.8228 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008439/0.03437, allocations: 129.1 kB / 0.8229 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.03481, allocations: 50.52 kB / 0.823 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.03665, allocations: 0.5876 MB / 0.8235 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.03688, allocations: 170.8 kB / 0.8237 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.374e-05/0.03696, allocations: 13.14 kB / 0.8237 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.03701, allocations: 12.5 kB / 0.8237 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of SimCode: time 9.52e-07/0.03701, allocations: 4 kB / 0.8237 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of Templates: time 0.0122/0.04922, allocations: 5.908 MB / 0.8295 GB, free: 14.5 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.9435596680268645]