Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.001065/0.001065, allocations: 73.97 kB / 20.65 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.001905/0.001905, allocations: 169 kB / 24.06 MB, free: 452 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.9765/0.9765, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.119/2.119, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8795 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.626e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00286/0.002887, allocations: 1.781 MB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.004262, allocations: 0.6158 MB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.75e-05/0.00435, allocations: 0.7188 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.004454, allocations: 15.8 kB / 0.8818 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.00459, allocations: 37.44 kB / 0.8819 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009213/0.005511, allocations: 363.8 kB / 0.8822 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006851/0.006197, allocations: 0.6048 MB / 0.8828 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.006297, allocations: 19.12 kB / 0.8828 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000579/0.006875, allocations: 431.4 kB / 0.8832 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.007185, allocations: 133 kB / 0.8833 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.007266, allocations: 45.34 kB / 0.8834 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.007334, allocations: 40 kB / 0.8834 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.007456, allocations: 131.6 kB / 0.8836 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.007613, allocations: 153.3 kB / 0.8837 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.008058, allocations: 426.8 kB / 0.8841 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.008061, allocations: 0 / 0.8841 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.008063, allocations: 0 / 0.8841 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.008069, allocations: 0 / 0.8841 GB, free: 1.184 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001094/0.009163, allocations: 0.9591 MB / 0.885 GB, free: 152 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.009198, allocations: 12.03 kB / 0.8851 GB, free: 140 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.009328, allocations: 64.64 kB / 0.8851 GB, free: 76 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.00967, allocations: 270.9 kB / 0.8854 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.009717, allocations: 26.77 kB / 0.8854 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.009786, allocations: 32.38 kB / 0.8854 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.01022, allocations: 212 kB / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.01023, allocations: 4.125 kB / 0.8856 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.01025, allocations: 4.375 kB / 0.8856 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.01026, allocations: 4.375 kB / 0.8856 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.01039, allocations: 59.89 kB / 0.8857 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009122/0.0113, allocations: 0.5468 MB / 0.8862 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.01153, allocations: 122.9 kB / 0.8864 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.01165, allocations: 59.66 kB / 0.8864 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.01167, allocations: 4 kB / 0.8864 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.01192, allocations: 180.9 kB / 0.8866 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.01192, allocations: 0 / 0.8866 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0006623/0.01258, allocations: 361.2 kB / 0.8869 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.01263, allocations: 63.41 kB / 0.887 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.01299, allocations: 430.5 kB / 0.8874 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.01304, allocations: 45.69 kB / 0.8874 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.01312, allocations: 152.1 kB / 0.8876 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.01316, allocations: 39.66 kB / 0.8876 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.01334, allocations: 147 kB / 0.8878 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01348, allocations: 0.4962 MB / 0.8883 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.01372, allocations: 167.3 kB / 0.8884 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.01397, allocations: 242.7 kB / 0.8886 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.01425, allocations: 263.1 kB / 0.8889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01425, allocations: 0 / 0.8889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007185/0.01497, allocations: 0.5517 MB / 0.8894 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.545e-05/0.01504, allocations: 87.38 kB / 0.8895 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01505, allocations: 4 kB / 0.8895 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.01506, allocations: 0 / 0.8895 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.01521, allocations: 43.91 kB / 0.8896 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01521, allocations: 0 / 0.8896 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.01547, allocations: 47.86 kB / 0.8896 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/0.01554, allocations: 55.98 kB / 0.8897 GB, free: 11.13 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001633/0.01571, allocations: 191.3 kB / 0.8898 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.01578, allocations: 55.64 kB / 0.8899 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.01583, allocations: 31.73 kB / 0.8899 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01583, allocations: 4 kB / 0.8899 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01584, allocations: 3.938 kB / 0.8899 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01584, allocations: 3.984 kB / 0.8899 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008261/0.01667, allocations: 0.6346 MB / 0.8906 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.01667, allocations: 7.984 kB / 0.8906 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.0167, allocations: 4 kB / 0.8906 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.01671, allocations: 0 / 0.8906 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.01674, allocations: 19.97 kB / 0.8906 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01674, allocations: 0 / 0.8906 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.01674, allocations: 0 / 0.8906 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.01726, allocations: 455.9 kB / 0.891 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.01751, allocations: 169.5 kB / 0.8912 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.01758, allocations: 23.98 kB / 0.8912 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.0178, allocations: 19.98 kB / 0.8912 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.01783, allocations: 11.98 kB / 0.8912 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/0.01789, allocations: 59.91 kB / 0.8913 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001965/0.01808, allocations: 271 kB / 0.8916 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01808, allocations: 0 / 0.8916 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003415/0.01842, allocations: 71.98 kB / 0.8916 GB, free: 9.051 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001517/0.01858, allocations: 116 kB / 0.8917 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.01912, allocations: 433.5 kB / 0.8921 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01912, allocations: 0 / 0.8921 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.01926, allocations: 79.09 kB / 0.8922 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.01963, allocations: 61.55 kB / 0.8923 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.02034, allocations: 498.8 kB / 0.8928 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.363e-05/0.0204, allocations: 87.81 kB / 0.8928 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.358e-05/0.02045, allocations: 21.42 kB / 0.8929 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.02069, allocations: 150.2 kB / 0.893 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.02069, allocations: 0 / 0.893 GB, free: 7.535 MB / 0.8542 GB Notification: Performance of Templates: time 0.009304/0.02999, allocations: 6.065 MB / 0.8989 GB, free: 1.43 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_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.409144320059568]