Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001492/0.001492, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001596/0.001596, allocations: 161.7 kB / 23.54 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.473/1.473, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.857/2.857, allocations: 377.8 MB / 0.6232 GB, free: 8.523 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8108 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.635e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002898/0.002924, allocations: 1.529 MB / 0.8123 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.004353, allocations: 0.5226 MB / 0.8128 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.004418, allocations: 1.344 kB / 0.8128 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.004521, allocations: 15.86 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.004636, allocations: 23.8 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.00564, allocations: 324.8 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006947/0.006335, allocations: 487.4 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.00637, allocations: 0.5312 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.007025, allocations: 360.9 kB / 0.8139 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.007381, allocations: 127.7 kB / 0.8141 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.007483, allocations: 24.53 kB / 0.8141 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.822e-05/0.007572, allocations: 29.38 kB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.00773, allocations: 123.6 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.007922, allocations: 127.7 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006145/0.008536, allocations: 458.7 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.008541, allocations: 5.156 kB / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.008541, allocations: 0 / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.008548, allocations: 0 / 0.8148 GB, free: 14.06 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.001366/0.009914, allocations: 0.7963 MB / 0.8156 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.009949, allocations: 8.031 kB / 0.8156 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.01012, allocations: 65.92 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006683/0.01078, allocations: 259.9 kB / 0.8159 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.01084, allocations: 20.36 kB / 0.8159 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.528e-05/0.01092, allocations: 29.05 kB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.01203, allocations: 235.7 kB / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.01204, allocations: 192 / 0.8162 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.01207, allocations: 4.359 kB / 0.8162 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.01208, allocations: 6.969 kB / 0.8162 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.01297, allocations: 111.9 kB / 0.8163 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.01341, allocations: 277.1 kB / 0.8165 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.01459, allocations: 185.4 kB / 0.8167 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008529/0.01545, allocations: 118.6 kB / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.01547, allocations: 0 / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.01654, allocations: 245.3 kB / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.01654, allocations: 0 / 0.8171 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.002864/0.01941, allocations: 0.5229 MB / 0.8176 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.01948, allocations: 72.17 kB / 0.8176 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.01997, allocations: 409.9 kB / 0.818 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.996e-05/0.02005, allocations: 42.91 kB / 0.8181 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.02015, allocations: 97.42 kB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.02021, allocations: 39.7 kB / 0.8182 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.02043, allocations: 130.8 kB / 0.8183 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.02061, allocations: 318.8 kB / 0.8186 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.02097, allocations: 195.2 kB / 0.8188 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.02139, allocations: 245.3 kB / 0.8191 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.02183, allocations: 282.3 kB / 0.8193 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.02183, allocations: 0 / 0.8193 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001067/0.02289, allocations: 0.5766 MB / 0.8199 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.02301, allocations: 88.42 kB / 0.82 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.02301, allocations: 0 / 0.82 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.02304, allocations: 4 kB / 0.82 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.0232, allocations: 20.42 kB / 0.82 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.02321, allocations: 9.344 kB / 0.82 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.02375, allocations: 64.62 kB / 0.8201 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.02386, allocations: 69.31 kB / 0.8201 GB, free: 8.301 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.0002859/0.02414, allocations: 191.7 kB / 0.8203 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/0.02424, allocations: 44.67 kB / 0.8204 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.746e-05/0.02431, allocations: 43.67 kB / 0.8204 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.02432, allocations: 7.984 kB / 0.8204 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.02433, allocations: 0.6562 kB / 0.8204 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.02434, allocations: 4.594 kB / 0.8204 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.02682, allocations: 0.708 MB / 0.8211 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02682, allocations: 0 / 0.8211 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.02686, allocations: 11.92 kB / 0.8211 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.02686, allocations: 2.5 kB / 0.8211 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.02691, allocations: 27.92 kB / 0.8211 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02691, allocations: 0 / 0.8211 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.02691, allocations: 3.984 kB / 0.8211 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.02894, allocations: 0.5051 MB / 0.8216 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.02921, allocations: 133.5 kB / 0.8218 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.02929, allocations: 18.42 kB / 0.8218 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.0298, allocations: 31.97 kB / 0.8218 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.02984, allocations: 11.98 kB / 0.8218 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/0.02993, allocations: 59.97 kB / 0.8219 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003596/0.03029, allocations: 295.1 kB / 0.8222 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03029, allocations: 0.625 kB / 0.8222 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003696/0.03066, allocations: 65.66 kB / 0.8222 GB, free: 6.098 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.0001899/0.03085, allocations: 114.1 kB / 0.8223 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.03257, allocations: 0.492 MB / 0.8228 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.03257, allocations: 0 / 0.8228 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008609/0.03343, allocations: 127.8 kB / 0.8229 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.03385, allocations: 46 kB / 0.823 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.03549, allocations: 0.5871 MB / 0.8236 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.0357, allocations: 166.8 kB / 0.8237 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.866e-05/0.03576, allocations: 9.156 kB / 0.8237 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.03581, allocations: 24.48 kB / 0.8237 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.03581, allocations: 0 / 0.8237 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of Templates: time 0.01151/0.04732, allocations: 5.886 MB / 0.8295 GB, free: 14.54 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.746143177966587]