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.0009474/0.0009474, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001564/0.001564, allocations: 161.4 kB / 24.17 MB, free: 328 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.9227/0.9227, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.813/1.813, allocations: 377.9 MB / 0.624 GB, free: 8.34 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.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 1.653e-06/1.653e-06, allocations: 0 / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.345e-05, allocations: 3.078 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002599/0.002622, allocations: 1.57 MB / 0.7615 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.00394, allocations: 0.5443 MB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.004007, allocations: 4 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.004107, allocations: 4.594 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.004236, allocations: 33.95 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008178/0.005054, allocations: 319.1 kB / 0.7624 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.005596, allocations: 495 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.005637, allocations: 7.984 kB / 0.7629 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004854/0.006123, allocations: 355.6 kB / 0.7632 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.006395, allocations: 140.2 kB / 0.7633 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.006467, allocations: 28 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.006529, allocations: 28.69 kB / 0.7634 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.006646, allocations: 117.4 kB / 0.7635 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.006792, allocations: 131.7 kB / 0.7636 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.007182, allocations: 374.9 kB / 0.764 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.007185, allocations: 0 / 0.764 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.243e-06/0.007186, allocations: 0 / 0.764 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.00719, allocations: 1.219 kB / 0.764 GB, free: 2.605 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.0009912/0.008181, allocations: 0.7437 MB / 0.7647 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.008218, allocations: 11.97 kB / 0.7647 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.008328, allocations: 48.88 kB / 0.7648 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.00864, allocations: 229 kB / 0.765 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.008685, allocations: 20.36 kB / 0.765 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.00876, allocations: 33.11 kB / 0.765 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.009185, allocations: 184.2 kB / 0.7652 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.009193, allocations: 192 / 0.7652 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.009216, allocations: 384 / 0.7652 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.009222, allocations: 384 / 0.7652 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.009331, allocations: 45.05 kB / 0.7652 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.009554, allocations: 116.9 kB / 0.7654 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.009762, allocations: 93.78 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.00987, allocations: 45.62 kB / 0.7655 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.009886, allocations: 1.5 kB / 0.7655 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.01011, allocations: 151.6 kB / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.01011, allocations: 0 / 0.7656 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004479/0.01056, allocations: 210.6 kB / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.0106, allocations: 59.41 kB / 0.7659 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.01086, allocations: 331.3 kB / 0.7662 GB, free: 204 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.01091, allocations: 49.22 kB / 0.7663 GB, free: 152 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.01098, allocations: 97.42 kB / 0.7664 GB, free: 48 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.01101, allocations: 27.8 kB / 0.7664 GB, free: 20 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.01119, allocations: 117.4 kB / 0.7665 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.962e-05/0.01129, allocations: 326.7 kB / 0.7668 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.01151, allocations: 163.2 kB / 0.767 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.01173, allocations: 208.4 kB / 0.7672 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.01199, allocations: 245.4 kB / 0.7674 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.012, allocations: 0 / 0.7674 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005565/0.01255, allocations: 435.7 kB / 0.7678 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.01261, allocations: 83.38 kB / 0.7679 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01262, allocations: 5.031 kB / 0.7679 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01263, allocations: 4 kB / 0.7679 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.01275, allocations: 35.91 kB / 0.7679 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01276, allocations: 0.9375 kB / 0.7679 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.01296, allocations: 48.55 kB / 0.768 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.01301, allocations: 51.92 kB / 0.768 GB, free: 14.21 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.0001373/0.01315, allocations: 147.6 kB / 0.7682 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.01319, allocations: 32.89 kB / 0.7682 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.01323, allocations: 35.67 kB / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01324, allocations: 0.9375 kB / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.01324, allocations: 0 / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01324, allocations: 0 / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.01368, allocations: 381.5 kB / 0.7686 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01368, allocations: 3.938 kB / 0.7686 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/0.0137, allocations: 4 kB / 0.7686 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.0137, allocations: 0 / 0.7686 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.01372, allocations: 15.97 kB / 0.7686 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01372, allocations: 1.094 kB / 0.7686 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01372, allocations: 0 / 0.7686 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.01393, allocations: 251.8 kB / 0.7689 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.01407, allocations: 115.5 kB / 0.769 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.01412, allocations: 16.94 kB / 0.769 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.01429, allocations: 29.03 kB / 0.769 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.01431, allocations: 11.92 kB / 0.769 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.01435, allocations: 49.02 kB / 0.7691 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.117e-05/0.01444, allocations: 140.7 kB / 0.7692 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01444, allocations: 4 kB / 0.7692 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001915/0.01463, allocations: 64.92 kB / 0.7693 GB, free: 12.91 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.761e-05/0.01473, allocations: 89.45 kB / 0.7694 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.0151, allocations: 405.7 kB / 0.7697 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.0151, allocations: 5 kB / 0.7697 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.01519, allocations: 65.03 kB / 0.7698 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.01537, allocations: 42.55 kB / 0.7698 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.01593, allocations: 464 kB / 0.7703 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.01598, allocations: 89.22 kB / 0.7704 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.01601, allocations: 14.3 kB / 0.7704 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.01618, allocations: 122.7 kB / 0.7705 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/0.01618, allocations: 0.9688 kB / 0.7705 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.005748/0.02192, allocations: 5.317 MB / 0.7757 GB, free: 6.266 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.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.867179276887327]