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.001302/0.001302, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001522/0.001522, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 0.9589/0.9589, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.92/1.92, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.513e-06/1.513e-06, allocations: 0 / 0.76 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.507e-05, allocations: 10.42 kB / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001742/0.001758, allocations: 1.564 MB / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.002657, allocations: 0.5448 MB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.002714, allocations: 0 / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.725e-05/0.002811, allocations: 9.516 kB / 0.7621 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.002912, allocations: 25.28 kB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.003596, allocations: 331 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.003954, allocations: 489.9 kB / 0.7629 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.147e-05/0.003985, allocations: 7.984 kB / 0.7629 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.004295, allocations: 356.8 kB / 0.7632 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.004479, allocations: 135.2 kB / 0.7633 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.004524, allocations: 28.75 kB / 0.7634 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.643e-05/0.004571, allocations: 24 kB / 0.7634 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.004662, allocations: 120.5 kB / 0.7635 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.509e-05/0.004758, allocations: 127.7 kB / 0.7636 GB, free: 3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.00501, allocations: 378.9 kB / 0.764 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005012, allocations: 1.344 kB / 0.764 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005012, allocations: 0 / 0.764 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.005016, allocations: 0 / 0.764 GB, free: 2.629 MB / 0.7136 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.000684/0.0057, allocations: 0.7445 MB / 0.7647 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.005728, allocations: 12.03 kB / 0.7647 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.541e-05/0.005803, allocations: 46 kB / 0.7648 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.006011, allocations: 236 kB / 0.765 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.006042, allocations: 20.36 kB / 0.765 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.006092, allocations: 25.62 kB / 0.765 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.006373, allocations: 182.5 kB / 0.7652 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.00638, allocations: 192 / 0.7652 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.006398, allocations: 8.375 kB / 0.7652 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.006403, allocations: 384 / 0.7652 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.079e-05/0.006474, allocations: 50.41 kB / 0.7653 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.006625, allocations: 119 kB / 0.7654 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.006767, allocations: 97.38 kB / 0.7655 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.006836, allocations: 44.88 kB / 0.7655 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.006852, allocations: 4.625 kB / 0.7655 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.006999, allocations: 148.5 kB / 0.7657 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.007, allocations: 1.125 kB / 0.7657 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002976/0.007298, allocations: 202.6 kB / 0.7659 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.007329, allocations: 63.39 kB / 0.7659 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.007493, allocations: 332.2 kB / 0.7662 GB, free: 216 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.007524, allocations: 37.7 kB / 0.7663 GB, free: 172 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.007568, allocations: 98.67 kB / 0.7664 GB, free: 68 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.007596, allocations: 35.72 kB / 0.7664 GB, free: 32 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.007709, allocations: 117.6 kB / 0.7665 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.689e-05/0.007776, allocations: 331.7 kB / 0.7668 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.007911, allocations: 151.3 kB / 0.767 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.008052, allocations: 205.2 kB / 0.7672 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.008225, allocations: 249.4 kB / 0.7674 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008227, allocations: 0 / 0.7674 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003344/0.008562, allocations: 440.2 kB / 0.7678 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.008612, allocations: 79.38 kB / 0.7679 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.008619, allocations: 9.297 kB / 0.7679 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.008632, allocations: 0 / 0.7679 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.008734, allocations: 31.92 kB / 0.7679 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.008738, allocations: 5.469 kB / 0.7679 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.008896, allocations: 47.86 kB / 0.768 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.008944, allocations: 55.97 kB / 0.768 GB, free: 14.22 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.0001098/0.009053, allocations: 148.2 kB / 0.7682 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.009088, allocations: 27.97 kB / 0.7682 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.009122, allocations: 31.69 kB / 0.7682 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.009124, allocations: 8.438 kB / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.009125, allocations: 0.9062 kB / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.009129, allocations: 0 / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.009521, allocations: 383 kB / 0.7686 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.009522, allocations: 0 / 0.7686 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.00954, allocations: 7.984 kB / 0.7686 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.009541, allocations: 1.062 kB / 0.7686 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.009556, allocations: 3.984 kB / 0.7686 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.009557, allocations: 4 kB / 0.7686 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.009559, allocations: 4.938 kB / 0.7686 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.009764, allocations: 240.7 kB / 0.7689 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.009894, allocations: 124.1 kB / 0.769 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.009937, allocations: 8 kB / 0.769 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.01011, allocations: 37.97 kB / 0.769 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.01026, allocations: 15.91 kB / 0.769 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.0103, allocations: 43.97 kB / 0.7691 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.44e-05/0.01038, allocations: 137.5 kB / 0.7692 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01038, allocations: 0 / 0.7692 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001914/0.01058, allocations: 69.42 kB / 0.7693 GB, free: 12.93 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 9.098e-05/0.01067, allocations: 96.41 kB / 0.7694 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.01104, allocations: 404.7 kB / 0.7698 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.01104, allocations: 5.062 kB / 0.7698 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.01112, allocations: 64.94 kB / 0.7698 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.0113, allocations: 38.19 kB / 0.7699 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.01191, allocations: 475.2 kB / 0.7703 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.01196, allocations: 85.5 kB / 0.7704 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.304e-05/0.01199, allocations: 14.67 kB / 0.7704 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.01215, allocations: 118.5 kB / 0.7705 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of SimCode: time 8.62e-07/0.01215, allocations: 4.625 kB / 0.7705 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of Templates: time 0.005826/0.01798, allocations: 5.322 MB / 0.7757 GB, free: 6.27 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.948346015065908]