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.0009813/0.0009813, allocations: 93.06 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.001126/0.001126, allocations: 165 kB / 23.02 MB, free: 1.547 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.9654/0.9654, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.093/2.093, allocations: 429.5 MB / 0.6733 GB, free: 4.066 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 2.004e-06/2.004e-06, allocations: 0 / 0.8781 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.566e-05, allocations: 4.844 kB / 0.8781 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003546/0.003581, allocations: 1.573 MB / 0.8797 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.005204, allocations: 0.5449 MB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.502e-05/0.005279, allocations: 0.7656 kB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.005415, allocations: 7.875 kB / 0.8802 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.005568, allocations: 29.89 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009629/0.006531, allocations: 324.4 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.006947, allocations: 486.9 kB / 0.881 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.006991, allocations: 4 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.00738, allocations: 351.6 kB / 0.8813 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.007633, allocations: 127.7 kB / 0.8815 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.0077, allocations: 28 kB / 0.8815 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.574e-05/0.007756, allocations: 24 kB / 0.8815 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.007864, allocations: 115.7 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.007987, allocations: 136.2 kB / 0.8818 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.008332, allocations: 374.9 kB / 0.8821 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.008336, allocations: 4.969 kB / 0.8821 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/0.008338, allocations: 0 / 0.8821 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.008345, allocations: 0 / 0.8821 GB, free: 2.305 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.00114/0.009485, allocations: 0.9198 MB / 0.883 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.009532, allocations: 12.03 kB / 0.883 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.009659, allocations: 52.7 kB / 0.8831 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.009955, allocations: 264 kB / 0.8833 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.009996, allocations: 8.375 kB / 0.8833 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.01005, allocations: 33.89 kB / 0.8834 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.01046, allocations: 215.6 kB / 0.8836 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01047, allocations: 192 / 0.8836 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.01049, allocations: 8.297 kB / 0.8836 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.0105, allocations: 4.375 kB / 0.8836 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.01061, allocations: 59.91 kB / 0.8836 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.01091, allocations: 304.3 kB / 0.8839 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.01113, allocations: 127 kB / 0.8841 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.936e-05/0.01123, allocations: 63.66 kB / 0.8841 GB, free: 108 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.01125, allocations: 4 kB / 0.8841 GB, free: 104 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.01147, allocations: 192.8 kB / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.01148, allocations: 0 / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005562/0.01203, allocations: 372.2 kB / 0.8847 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.01207, allocations: 63.39 kB / 0.8847 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.01235, allocations: 422.6 kB / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.01239, allocations: 45.7 kB / 0.8852 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.01246, allocations: 144.1 kB / 0.8853 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.0125, allocations: 47.67 kB / 0.8854 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.01264, allocations: 131.1 kB / 0.8855 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.01277, allocations: 0.4923 MB / 0.886 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.01299, allocations: 175.3 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.01321, allocations: 242.8 kB / 0.8864 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.01346, allocations: 283.4 kB / 0.8866 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.01347, allocations: 0 / 0.8866 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000589/0.01406, allocations: 0.5509 MB / 0.8872 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/0.01412, allocations: 79.38 kB / 0.8872 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01413, allocations: 3.984 kB / 0.8872 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.01415, allocations: 4 kB / 0.8872 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.0143, allocations: 36.11 kB / 0.8873 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.01431, allocations: 7.938 kB / 0.8873 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.0145, allocations: 47.86 kB / 0.8873 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.01456, allocations: 63.97 kB / 0.8874 GB, free: 12.54 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.0001627/0.01472, allocations: 186.5 kB / 0.8876 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.01478, allocations: 43.72 kB / 0.8876 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.01483, allocations: 35.69 kB / 0.8876 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01483, allocations: 0 / 0.8876 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.01484, allocations: 7.984 kB / 0.8877 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.01485, allocations: 7.922 kB / 0.8877 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007964/0.01565, allocations: 0.6653 MB / 0.8883 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.01565, allocations: 0 / 0.8883 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.253e-05/0.01569, allocations: 11.98 kB / 0.8883 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.0157, allocations: 4 kB / 0.8883 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.01573, allocations: 19.92 kB / 0.8883 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01573, allocations: 3.984 kB / 0.8884 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01573, allocations: 7.938 kB / 0.8884 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.01615, allocations: 460 kB / 0.8888 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.01631, allocations: 121.5 kB / 0.8889 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.01636, allocations: 11.94 kB / 0.8889 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.01652, allocations: 23.98 kB / 0.8889 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.01656, allocations: 7.984 kB / 0.889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.01661, allocations: 59.97 kB / 0.889 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001697/0.01678, allocations: 283.1 kB / 0.8893 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01678, allocations: 0 / 0.8893 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002621/0.01704, allocations: 60 kB / 0.8893 GB, free: 10.46 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.0001264/0.01717, allocations: 115.2 kB / 0.8895 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006407/0.01781, allocations: 433.6 kB / 0.8899 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01781, allocations: 384 / 0.8899 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.01794, allocations: 87.53 kB / 0.8899 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.01823, allocations: 53.86 kB / 0.89 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008001/0.01903, allocations: 483 kB / 0.8905 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.303e-05/0.01908, allocations: 83.81 kB / 0.8905 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.01912, allocations: 13.14 kB / 0.8906 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.01916, allocations: 20.5 kB / 0.8906 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.01916, allocations: 0 / 0.8906 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of Templates: time 0.007424/0.02658, allocations: 5.888 MB / 0.8963 GB, free: 3.168 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.500429038889706]