Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001932/0.001932, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.002122/0.002122, allocations: 177.2 kB / 23.24 MB, free: 1.32 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.595/1.595, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.192/3.192, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.967e-06/3.967e-06, allocations: 3.984 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.289e-05/3.686e-05, allocations: 5.938 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003182/0.003219, allocations: 1.519 MB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.004744, allocations: 0.5304 MB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.004829, allocations: 8 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.004957, allocations: 7.875 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.005138, allocations: 39.5 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.006353, allocations: 311 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000743/0.007096, allocations: 491.4 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.00716, allocations: 7.984 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.007758, allocations: 347.6 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.008097, allocations: 131.7 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.00823, allocations: 28 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.008371, allocations: 24 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.008543, allocations: 119.6 kB / 1.005 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.008744, allocations: 131.7 kB / 1.005 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.009369, allocations: 466.8 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.009374, allocations: 0 / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.282e-06/0.009375, allocations: 0 / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.009381, allocations: 0 / 1.005 GB, free: 8.922 MB / 0.9636 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.001432/0.01081, allocations: 0.795 MB / 1.006 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.01086, allocations: 13.34 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.01099, allocations: 52.66 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.01143, allocations: 260 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.01148, allocations: 20.36 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.01156, allocations: 28.36 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.01275, allocations: 226 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.01276, allocations: 4.188 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.01279, allocations: 4.359 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.0128, allocations: 4.375 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007872/0.01358, allocations: 111.9 kB / 1.007 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.01404, allocations: 285 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.0151, allocations: 190.4 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/0.01589, allocations: 116.8 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.01592, allocations: 0 / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009489/0.01687, allocations: 243.1 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.01687, allocations: 0 / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.002609/0.01948, allocations: 0.5205 MB / 1.008 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.01954, allocations: 59.39 kB / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.02004, allocations: 417.8 kB / 1.008 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.55e-05/0.02012, allocations: 41.69 kB / 1.008 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.631e-05/0.02022, allocations: 97.44 kB / 1.008 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.02027, allocations: 39.73 kB / 1.008 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.02049, allocations: 125.4 kB / 1.009 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.02067, allocations: 330.8 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.02102, allocations: 195.3 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.02142, allocations: 243.9 kB / 1.009 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.02185, allocations: 275.5 kB / 1.01 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.02186, allocations: 0 / 1.01 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009855/0.02284, allocations: 0.5608 MB / 1.01 GB, free: 3.426 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-05/0.02293, allocations: 83.38 kB / 1.01 GB, free: 3.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.02295, allocations: 4 kB / 1.01 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.02296, allocations: 0 / 1.01 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.02314, allocations: 27.91 kB / 1.01 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.02315, allocations: 7.938 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.02362, allocations: 60.06 kB / 1.01 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.781e-05/0.02372, allocations: 63.98 kB / 1.01 GB, free: 3.172 MB / 0.9636 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.0002492/0.02397, allocations: 195.7 kB / 1.011 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/0.02404, allocations: 39.75 kB / 1.011 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/0.02411, allocations: 39.69 kB / 1.011 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.02412, allocations: 4 kB / 1.011 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.02412, allocations: 0 / 1.011 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.02413, allocations: 3.938 kB / 1.011 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.02639, allocations: 0.7128 MB / 1.011 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.02639, allocations: 4 kB / 1.011 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.02644, allocations: 8 kB / 1.011 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.02644, allocations: 0 / 1.011 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.02648, allocations: 23.91 kB / 1.011 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.02648, allocations: 0 / 1.011 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02648, allocations: 4 kB / 1.011 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.02833, allocations: 0.5034 MB / 1.012 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.02862, allocations: 129.5 kB / 1.012 GB, free: 1.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/0.0287, allocations: 19.92 kB / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.02917, allocations: 39.97 kB / 1.012 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.02922, allocations: 7.984 kB / 1.012 GB, free: 1.379 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.002e-05/0.02931, allocations: 67.97 kB / 1.012 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003534/0.02966, allocations: 295.1 kB / 1.012 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.02966, allocations: 0 / 1.012 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003805/0.03004, allocations: 60 kB / 1.012 GB, free: 0.9648 MB / 0.9636 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.0001859/0.03023, allocations: 126 kB / 1.013 GB, free: 0.8359 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.03161, allocations: 493 kB / 1.013 GB, free: 328 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.03161, allocations: 4 kB / 1.013 GB, free: 324 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007726/0.03238, allocations: 119.9 kB / 1.013 GB, free: 204 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.03275, allocations: 34.22 kB / 1.013 GB, free: 176 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.03441, allocations: 0.5737 MB / 1.014 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.03461, allocations: 159.4 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.533e-05/0.03468, allocations: 13.14 kB / 1.014 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.03473, allocations: 24.48 kB / 1.014 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of SimCode: time 5.91e-07/0.03473, allocations: 0 / 1.014 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of Templates: time 0.01129/0.04602, allocations: 5.84 MB / 1.02 GB, free: 9.449 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.801154875196517]