Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.001565/0.001565, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001577/0.001577, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9771/0.9771, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.372/2.372, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.632e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002227/0.002254, allocations: 1.776 MB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.003339, allocations: 0.6128 MB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.003412, allocations: 0 / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.003513, allocations: 11.86 kB / 0.8921 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.003632, allocations: 35.78 kB / 0.8922 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.004295, allocations: 387.2 kB / 0.8925 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.004733, allocations: 0.6087 MB / 0.8931 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.366e-05/0.004827, allocations: 17.3 kB / 0.8932 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003802/0.005207, allocations: 419.6 kB / 0.8936 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.005423, allocations: 139.7 kB / 0.8937 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.005486, allocations: 44 kB / 0.8937 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.764e-05/0.005543, allocations: 40 kB / 0.8938 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.39e-05/0.005637, allocations: 135.6 kB / 0.8939 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.005745, allocations: 147.7 kB / 0.894 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.006075, allocations: 438.7 kB / 0.8945 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006078, allocations: 0 / 0.8945 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006079, allocations: 0 / 0.8945 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.006084, allocations: 0 / 0.8945 GB, free: 4.926 MB / 0.8542 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.0008447/0.006928, allocations: 0.9532 MB / 0.8954 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.006971, allocations: 8.625 kB / 0.8954 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.406e-05/0.007065, allocations: 68.66 kB / 0.8955 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.007308, allocations: 282.8 kB / 0.8957 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.007599, allocations: 20.36 kB / 0.8957 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.007647, allocations: 32.36 kB / 0.8958 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.007994, allocations: 214.7 kB / 0.896 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.008, allocations: 192 / 0.896 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.008017, allocations: 4.375 kB / 0.896 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.008022, allocations: 384 / 0.896 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.008109, allocations: 57.28 kB / 0.896 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.008774, allocations: 0.5584 MB / 0.8966 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.008945, allocations: 111 kB / 0.8967 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/0.009026, allocations: 67.03 kB / 0.8968 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.009047, allocations: 0 / 0.8968 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.00922, allocations: 184.7 kB / 0.8969 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.009221, allocations: 3.938 kB / 0.8969 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004577/0.009679, allocations: 357.4 kB / 0.8973 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.009713, allocations: 63.33 kB / 0.8973 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.009965, allocations: 434.5 kB / 0.8978 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.01, allocations: 37.7 kB / 0.8978 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.01006, allocations: 152.1 kB / 0.8979 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.01009, allocations: 43.67 kB / 0.898 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.01021, allocations: 139.1 kB / 0.8981 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01032, allocations: 0.5001 MB / 0.8986 GB, free: 456 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.01048, allocations: 167.3 kB / 0.8988 GB, free: 276 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.01066, allocations: 237.1 kB / 0.899 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.01085, allocations: 263 kB / 0.8992 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01085, allocations: 4 kB / 0.8992 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004904/0.01134, allocations: 0.5456 MB / 0.8998 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/0.01141, allocations: 93.5 kB / 0.8999 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01141, allocations: 4 kB / 0.8999 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.01143, allocations: 4 kB / 0.8999 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01154, allocations: 35.91 kB / 0.8999 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.01155, allocations: 0 / 0.8999 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.01172, allocations: 56 kB / 0.9 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.01177, allocations: 59.97 kB / 0.9 GB, free: 14.86 MB / 0.8698 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.0001382/0.01191, allocations: 195.1 kB / 0.9002 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.01196, allocations: 51.69 kB / 0.9002 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.01201, allocations: 31.73 kB / 0.9003 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01201, allocations: 0 / 0.9003 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01201, allocations: 0 / 0.9003 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01202, allocations: 3.984 kB / 0.9003 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.01261, allocations: 0.6385 MB / 0.9009 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01261, allocations: 0 / 0.9009 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.01263, allocations: 4 kB / 0.9009 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.01264, allocations: 0 / 0.9009 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.01265, allocations: 19.97 kB / 0.9009 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.01266, allocations: 4 kB / 0.9009 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01266, allocations: 0 / 0.9009 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.01303, allocations: 467.8 kB / 0.9014 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.0132, allocations: 169.5 kB / 0.9015 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.01324, allocations: 16 kB / 0.9016 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.01342, allocations: 31.97 kB / 0.9016 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.01345, allocations: 7.984 kB / 0.9016 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.01349, allocations: 55.97 kB / 0.9016 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001452/0.01363, allocations: 275 kB / 0.9019 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.01363, allocations: 0 / 0.9019 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000232/0.01387, allocations: 71.95 kB / 0.902 GB, free: 12.78 MB / 0.8698 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.0001407/0.01401, allocations: 127.2 kB / 0.9021 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.01445, allocations: 441.2 kB / 0.9025 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.01446, allocations: 0 / 0.9025 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.562e-05/0.01455, allocations: 79.75 kB / 0.9026 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.01509, allocations: 61.55 kB / 0.9027 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.01563, allocations: 490.8 kB / 0.9031 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.88e-05/0.01568, allocations: 87.81 kB / 0.9032 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.01572, allocations: 17.48 kB / 0.9032 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.0159, allocations: 150.2 kB / 0.9034 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of SimCode: time 7.71e-07/0.0159, allocations: 0 / 0.9034 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of Templates: time 0.006696/0.02259, allocations: 5.895 MB / 0.9091 GB, free: 5.332 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_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: 5.400468858890235]