Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009452/0.0009452, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001119/0.001119, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.928/0.928, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.747/1.747, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7884 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.234e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003322/0.003344, allocations: 1.783 MB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.004963, allocations: 0.6067 MB / 0.7907 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.005048, allocations: 0.7812 kB / 0.7907 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.005169, allocations: 11.86 kB / 0.7907 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.005325, allocations: 40.62 kB / 0.7907 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.006329, allocations: 375.9 kB / 0.7911 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006952/0.007024, allocations: 0.6016 MB / 0.7917 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.007134, allocations: 17.3 kB / 0.7917 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005971/0.007731, allocations: 421.2 kB / 0.7921 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.008076, allocations: 139.5 kB / 0.7922 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.008175, allocations: 47.44 kB / 0.7923 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-05/0.008251, allocations: 40 kB / 0.7923 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.008384, allocations: 131.6 kB / 0.7924 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.008555, allocations: 147.7 kB / 0.7926 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.009194, allocations: 434.7 kB / 0.793 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.009197, allocations: 0 / 0.793 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.009198, allocations: 0 / 0.793 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.009207, allocations: 0 / 0.793 GB, free: 7.426 MB / 0.7448 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.00128/0.01049, allocations: 0.9416 MB / 0.7939 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.01054, allocations: 16.62 kB / 0.7939 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.01072, allocations: 65.23 kB / 0.794 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.0111, allocations: 286.8 kB / 0.7943 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/0.01115, allocations: 25.98 kB / 0.7943 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/0.01124, allocations: 28.38 kB / 0.7943 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.01171, allocations: 205.4 kB / 0.7945 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.01172, allocations: 1.562 kB / 0.7945 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.01174, allocations: 384 / 0.7945 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.01175, allocations: 4.375 kB / 0.7945 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.0119, allocations: 65.78 kB / 0.7946 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009856/0.01288, allocations: 0.5473 MB / 0.7951 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.01314, allocations: 116.6 kB / 0.7952 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.01328, allocations: 63.22 kB / 0.7953 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.01329, allocations: 0 / 0.7953 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.01355, allocations: 176.8 kB / 0.7955 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.01355, allocations: 0 / 0.7955 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0007348/0.01429, allocations: 365.7 kB / 0.7958 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.01433, allocations: 63.39 kB / 0.7959 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006643/0.015, allocations: 434.4 kB / 0.7963 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.01505, allocations: 41.69 kB / 0.7963 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.01515, allocations: 148.1 kB / 0.7965 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.01519, allocations: 47.59 kB / 0.7965 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.01539, allocations: 143.1 kB / 0.7966 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.01553, allocations: 0.4923 MB / 0.7971 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.01581, allocations: 175.3 kB / 0.7973 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.0161, allocations: 237.1 kB / 0.7975 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.01643, allocations: 274.4 kB / 0.7978 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.01643, allocations: 0 / 0.7978 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007655/0.0172, allocations: 0.5494 MB / 0.7983 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.247e-05/0.01727, allocations: 87.38 kB / 0.7984 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.01728, allocations: 7.984 kB / 0.7984 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.01729, allocations: 0 / 0.7984 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.01743, allocations: 35.92 kB / 0.7984 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.01744, allocations: 0 / 0.7984 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.01769, allocations: 47.86 kB / 0.7985 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.532e-05/0.01778, allocations: 59.97 kB / 0.7985 GB, free: 1.414 MB / 0.7448 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.0001648/0.01794, allocations: 195.3 kB / 0.7987 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.01802, allocations: 51.7 kB / 0.7988 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.01807, allocations: 31.73 kB / 0.7988 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01807, allocations: 0 / 0.7988 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01807, allocations: 3.984 kB / 0.7988 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01808, allocations: 0 / 0.7988 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008157/0.01889, allocations: 0.6423 MB / 0.7994 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.0189, allocations: 4 kB / 0.7994 GB, free: 456 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.01893, allocations: 4 kB / 0.7995 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01893, allocations: 0 / 0.7995 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.01895, allocations: 19.97 kB / 0.7995 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01895, allocations: 0 / 0.7995 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01895, allocations: 0 / 0.7995 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.01944, allocations: 463.8 kB / 0.7999 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.01963, allocations: 169.8 kB / 0.8001 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.01968, allocations: 16 kB / 0.8001 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.01984, allocations: 23.98 kB / 0.8001 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.01987, allocations: 7.984 kB / 0.8001 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.01992, allocations: 59.97 kB / 0.8002 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001548/0.02007, allocations: 267 kB / 0.8004 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/0.02007, allocations: 0 / 0.8004 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002338/0.0203, allocations: 71.98 kB / 0.8005 GB, free: 15.35 MB / 0.7605 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.0001232/0.02043, allocations: 123.2 kB / 0.8006 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004106/0.02084, allocations: 436 kB / 0.801 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02084, allocations: 0 / 0.801 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.794e-05/0.02094, allocations: 79.95 kB / 0.8011 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.02121, allocations: 67.52 kB / 0.8012 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.02177, allocations: 0.4948 MB / 0.8017 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.817e-05/0.02182, allocations: 87.8 kB / 0.8017 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.02185, allocations: 13.5 kB / 0.8018 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.02203, allocations: 146.2 kB / 0.8019 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/0.02203, allocations: 0 / 0.8019 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.006808/0.02883, allocations: 6.072 MB / 0.8078 GB, free: 7.715 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.172347865998745]