Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0009908/0.0009908, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001131/0.001131, allocations: 169 kB / 24.06 MB, free: 456 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.9676/0.9676, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.129/2.129, allocations: 429.5 MB / 0.6743 GB, free: 3.883 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.626e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002304/0.00233, allocations: 1.559 MB / 0.8809 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.003448, allocations: 0.5342 MB / 0.8814 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.003529, allocations: 1.531 kB / 0.8814 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.003633, allocations: 16.52 kB / 0.8814 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.00375, allocations: 28.78 kB / 0.8814 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006534/0.004403, allocations: 320.6 kB / 0.8818 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.004796, allocations: 486.6 kB / 0.8822 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.004836, allocations: 4 kB / 0.8822 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.005186, allocations: 355.6 kB / 0.8826 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.005396, allocations: 136.6 kB / 0.8827 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.005446, allocations: 24 kB / 0.8827 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.995e-05/0.005496, allocations: 31.94 kB / 0.8827 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.005599, allocations: 119.7 kB / 0.8829 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.005714, allocations: 128.3 kB / 0.883 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.006021, allocations: 374.9 kB / 0.8833 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.006024, allocations: 1.656 kB / 0.8833 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.006025, allocations: 0 / 0.8833 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.00603, allocations: 4 kB / 0.8833 GB, free: 1.977 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.0008745/0.006905, allocations: 0.9156 MB / 0.8842 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.006938, allocations: 8.031 kB / 0.8842 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.606e-05/0.007035, allocations: 56.7 kB / 0.8843 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.007284, allocations: 262.8 kB / 0.8846 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.007321, allocations: 20.36 kB / 0.8846 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.007372, allocations: 32.3 kB / 0.8846 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.007695, allocations: 194.7 kB / 0.8848 GB, free: 400 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.007704, allocations: 192 / 0.8848 GB, free: 400 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.007724, allocations: 4.375 kB / 0.8848 GB, free: 396 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.007729, allocations: 384 / 0.8848 GB, free: 396 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/0.007816, allocations: 55.53 kB / 0.8848 GB, free: 344 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.008061, allocations: 256.9 kB / 0.8851 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.008254, allocations: 119 kB / 0.8852 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.008334, allocations: 59.66 kB / 0.8853 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.008351, allocations: 4 kB / 0.8853 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.008528, allocations: 172.9 kB / 0.8854 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.008529, allocations: 0 / 0.8854 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004806/0.00901, allocations: 360.5 kB / 0.8858 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.009047, allocations: 59.41 kB / 0.8858 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.009286, allocations: 422.5 kB / 0.8862 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.009321, allocations: 41.69 kB / 0.8863 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.00938, allocations: 144.2 kB / 0.8864 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.009417, allocations: 47.66 kB / 0.8865 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.009547, allocations: 127.1 kB / 0.8866 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.009665, allocations: 0.5 MB / 0.8871 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.009831, allocations: 159.3 kB / 0.8872 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.01, allocations: 234.7 kB / 0.8874 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.01019, allocations: 259.2 kB / 0.8877 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.0102, allocations: 4 kB / 0.8877 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004948/0.01069, allocations: 0.5273 MB / 0.8882 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/0.01075, allocations: 83.38 kB / 0.8883 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.01075, allocations: 4 kB / 0.8883 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.01076, allocations: 4 kB / 0.8883 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.01088, allocations: 36.16 kB / 0.8883 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01089, allocations: 3.938 kB / 0.8883 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.01106, allocations: 51.8 kB / 0.8884 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.01112, allocations: 55.98 kB / 0.8884 GB, free: 12.4 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.0001284/0.01125, allocations: 182.6 kB / 0.8886 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.0113, allocations: 51.7 kB / 0.8887 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.01134, allocations: 39.67 kB / 0.8887 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01135, allocations: 0 / 0.8887 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.01135, allocations: 7.938 kB / 0.8887 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.01135, allocations: 4 kB / 0.8887 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.01197, allocations: 0.6073 MB / 0.8893 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01197, allocations: 0 / 0.8893 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.012, allocations: 11.92 kB / 0.8893 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.012, allocations: 0 / 0.8893 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.01202, allocations: 15.98 kB / 0.8893 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01202, allocations: 3.938 kB / 0.8893 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.01203, allocations: 7.938 kB / 0.8893 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.01239, allocations: 452 kB / 0.8898 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.01254, allocations: 117.9 kB / 0.8899 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.01259, allocations: 19.98 kB / 0.8899 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.01274, allocations: 15.98 kB / 0.8899 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.01276, allocations: 11.92 kB / 0.8899 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.01281, allocations: 59.97 kB / 0.89 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001247/0.01293, allocations: 267 kB / 0.8902 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01293, allocations: 0 / 0.8902 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002234/0.01316, allocations: 60 kB / 0.8903 GB, free: 10.43 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.0001235/0.01328, allocations: 119.7 kB / 0.8904 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003918/0.01367, allocations: 409.2 kB / 0.8908 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01367, allocations: 0 / 0.8908 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.01377, allocations: 87.91 kB / 0.8909 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.01403, allocations: 46.73 kB / 0.8909 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006694/0.0147, allocations: 479 kB / 0.8914 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.463e-05/0.01476, allocations: 91.81 kB / 0.8915 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.01479, allocations: 9.141 kB / 0.8915 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.01498, allocations: 142.1 kB / 0.8916 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of SimCode: time 1.242e-06/0.01498, allocations: 0 / 0.8916 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of Templates: time 0.006749/0.02173, allocations: 5.513 MB / 0.897 GB, free: 3.402 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.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.503461597952992]