Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009273/0.0009273, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009276/0.0009276, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9136/0.9136, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.073/2.073, allocations: 429.5 MB / 0.6732 GB, free: 4.086 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8781 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.41e-05, allocations: 3.281 kB / 0.8781 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002049/0.002073, allocations: 1.571 MB / 0.8797 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.00325, allocations: 0.5449 MB / 0.8802 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.003312, allocations: 4 kB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.003415, allocations: 8.719 kB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.003525, allocations: 27.84 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006972/0.004223, allocations: 317.5 kB / 0.8805 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000425/0.004648, allocations: 487.4 kB / 0.881 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.004687, allocations: 4 kB / 0.881 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.005043, allocations: 352.8 kB / 0.8814 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.005266, allocations: 127.7 kB / 0.8815 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.005323, allocations: 25.09 kB / 0.8815 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.249e-05/0.005375, allocations: 28 kB / 0.8815 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.005475, allocations: 120.3 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.005584, allocations: 131.7 kB / 0.8818 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.005894, allocations: 375.6 kB / 0.8821 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005896, allocations: 4 kB / 0.8821 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005897, allocations: 3.906 kB / 0.8821 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.005903, allocations: 0 / 0.8821 GB, free: 2.309 MB / 0.8386 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.0008813/0.006784, allocations: 0.9144 MB / 0.883 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.00682, allocations: 8.031 kB / 0.883 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.00693, allocations: 60.7 kB / 0.8831 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.007192, allocations: 254.8 kB / 0.8833 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.007228, allocations: 16.38 kB / 0.8833 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.007277, allocations: 32.36 kB / 0.8834 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.007634, allocations: 202.7 kB / 0.8836 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.007643, allocations: 192 / 0.8836 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.007663, allocations: 8.359 kB / 0.8836 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.007672, allocations: 4.375 kB / 0.8836 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.674e-05/0.007768, allocations: 56.59 kB / 0.8836 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.008058, allocations: 313.1 kB / 0.8839 GB, free: 336 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.008252, allocations: 127 kB / 0.8841 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.008347, allocations: 67.66 kB / 0.8841 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.008367, allocations: 0 / 0.8841 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.008576, allocations: 184.8 kB / 0.8843 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.008577, allocations: 0 / 0.8843 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.000522/0.009099, allocations: 373.2 kB / 0.8847 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.009135, allocations: 71.33 kB / 0.8847 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.009388, allocations: 422.6 kB / 0.8851 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.009422, allocations: 37.7 kB / 0.8852 GB, free: 15 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.009482, allocations: 144.2 kB / 0.8853 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.009519, allocations: 43.67 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.009641, allocations: 135.1 kB / 0.8855 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.009747, allocations: 0.4922 MB / 0.8859 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.009952, allocations: 183.3 kB / 0.8861 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.01014, allocations: 242.8 kB / 0.8864 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.01038, allocations: 271.7 kB / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.01038, allocations: 4 kB / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005157/0.0109, allocations: 0.5508 MB / 0.8872 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.989e-05/0.01099, allocations: 87.56 kB / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01099, allocations: 0 / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.01101, allocations: 7.984 kB / 0.8872 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.01114, allocations: 31.92 kB / 0.8873 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.01114, allocations: 7.938 kB / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.01132, allocations: 51.8 kB / 0.8873 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.01137, allocations: 63.97 kB / 0.8874 GB, free: 12.55 MB / 0.8542 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.0001138/0.01149, allocations: 182.5 kB / 0.8876 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.01154, allocations: 55.7 kB / 0.8876 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.01158, allocations: 31.69 kB / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01158, allocations: 0 / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.01158, allocations: 0 / 0.8877 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01159, allocations: 7.922 kB / 0.8877 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/0.01223, allocations: 0.6723 MB / 0.8883 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01223, allocations: 0 / 0.8883 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.01226, allocations: 7.984 kB / 0.8883 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01227, allocations: 4 kB / 0.8883 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.01229, allocations: 27.92 kB / 0.8884 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.01229, allocations: 3.984 kB / 0.8884 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.0123, allocations: 0 / 0.8884 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.01267, allocations: 456 kB / 0.8888 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.0128, allocations: 125.5 kB / 0.8889 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.01293, allocations: 11.94 kB / 0.8889 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.01308, allocations: 19.98 kB / 0.8889 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.01311, allocations: 11.98 kB / 0.889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.01315, allocations: 63.97 kB / 0.889 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001461/0.0133, allocations: 275.1 kB / 0.8893 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.0133, allocations: 0 / 0.8893 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002239/0.01352, allocations: 64 kB / 0.8893 GB, free: 10.48 MB / 0.8542 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.0001006/0.01362, allocations: 111.2 kB / 0.8894 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004436/0.01406, allocations: 434.1 kB / 0.8899 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01407, allocations: 4 kB / 0.8899 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.01418, allocations: 94.5 kB / 0.89 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.01444, allocations: 54.5 kB / 0.89 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006998/0.01514, allocations: 483 kB / 0.8905 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.683e-05/0.01519, allocations: 83.81 kB / 0.8905 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.01522, allocations: 17.14 kB / 0.8906 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.01526, allocations: 16.5 kB / 0.8906 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.01526, allocations: 0 / 0.8906 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of Templates: time 0.007566/0.02282, allocations: 6.496 MB / 0.8969 GB, free: 2.57 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.218277042731643]