Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.001055/0.001055, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.002109/0.002109, allocations: 169 kB / 24.28 MB, free: 276 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 1.001/1.001, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.847/1.847, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 0.7872 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.244e-05/4.526e-05, allocations: 5.75 kB / 0.7872 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003973/0.004018, allocations: 1.774 MB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.005755, allocations: 0.6133 MB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.005897, allocations: 7.938 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.00604, allocations: 14.33 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.00626, allocations: 35.78 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000979/0.007239, allocations: 371.2 kB / 0.7899 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006076/0.007846, allocations: 0.597 MB / 0.7905 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.007963, allocations: 19.06 kB / 0.7905 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.008432, allocations: 427.5 kB / 0.7909 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.008671, allocations: 135.5 kB / 0.791 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.008732, allocations: 44.59 kB / 0.7911 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.266e-05/0.008785, allocations: 40 kB / 0.7911 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.008928, allocations: 132.9 kB / 0.7912 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.009087, allocations: 151.7 kB / 0.7914 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.009479, allocations: 434.7 kB / 0.7918 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.009484, allocations: 1.281 kB / 0.7918 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.009485, allocations: 0 / 0.7918 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.009491, allocations: 0 / 0.7918 GB, free: 7.992 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.001003/0.01049, allocations: 0.9503 MB / 0.7927 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.01055, allocations: 8.031 kB / 0.7927 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.01068, allocations: 65.42 kB / 0.7928 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.01103, allocations: 278.8 kB / 0.7931 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.01108, allocations: 26.95 kB / 0.7931 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.01113, allocations: 28.38 kB / 0.7931 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.01158, allocations: 223.2 kB / 0.7933 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.01159, allocations: 192 / 0.7933 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.01161, allocations: 4.375 kB / 0.7933 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.01162, allocations: 384 / 0.7933 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.01175, allocations: 73.14 kB / 0.7934 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.01261, allocations: 0.606 MB / 0.794 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.01283, allocations: 127.6 kB / 0.7941 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.01293, allocations: 73.03 kB / 0.7942 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.01296, allocations: 0 / 0.7942 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.01319, allocations: 180.9 kB / 0.7944 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.0132, allocations: 0 / 0.7944 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005886/0.01378, allocations: 391.9 kB / 0.7947 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.01383, allocations: 59.41 kB / 0.7948 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.01414, allocations: 430.7 kB / 0.7952 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/0.01419, allocations: 45.69 kB / 0.7952 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.01427, allocations: 148.1 kB / 0.7954 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.01431, allocations: 43.69 kB / 0.7954 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.01445, allocations: 139.1 kB / 0.7956 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.01459, allocations: 0.4962 MB / 0.796 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.01483, allocations: 183.3 kB / 0.7962 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.01506, allocations: 257 kB / 0.7965 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.01535, allocations: 290.7 kB / 0.7967 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.01535, allocations: 0 / 0.7967 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005867/0.01594, allocations: 0.5703 MB / 0.7973 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.016, allocations: 87.38 kB / 0.7974 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.01601, allocations: 7.938 kB / 0.7974 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.01603, allocations: 3.984 kB / 0.7974 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01617, allocations: 35.92 kB / 0.7974 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.01618, allocations: 192 / 0.7974 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.01636, allocations: 51.86 kB / 0.7975 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.01642, allocations: 59.97 kB / 0.7975 GB, free: 1.781 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.0001387/0.01656, allocations: 191.1 kB / 0.7977 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.01661, allocations: 51.69 kB / 0.7978 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.01666, allocations: 31.73 kB / 0.7978 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.01666, allocations: 0 / 0.7978 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01667, allocations: 3.984 kB / 0.7978 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01667, allocations: 8 kB / 0.7978 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.01736, allocations: 0.7004 MB / 0.7985 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01736, allocations: 0 / 0.7985 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.01739, allocations: 4 kB / 0.7985 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.0174, allocations: 0 / 0.7985 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.01742, allocations: 19.97 kB / 0.7985 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.01743, allocations: 8 kB / 0.7985 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.01743, allocations: 3.984 kB / 0.7985 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.01783, allocations: 467.9 kB / 0.799 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.01801, allocations: 177.4 kB / 0.7991 GB, free: 60 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.01806, allocations: 16 kB / 0.7992 GB, free: 44 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.01821, allocations: 19.98 kB / 0.7992 GB, free: 24 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.01825, allocations: 7.984 kB / 0.7992 GB, free: 16 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.154e-05/0.01831, allocations: 67.91 kB / 0.7993 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001693/0.01848, allocations: 275.1 kB / 0.7995 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01848, allocations: 0 / 0.7995 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002408/0.01872, allocations: 71.98 kB / 0.7996 GB, free: 15.61 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.0001514/0.01887, allocations: 125.6 kB / 0.7997 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005051/0.01938, allocations: 453.7 kB / 0.8001 GB, free: 15 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01938, allocations: 0 / 0.8001 GB, free: 15 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.01949, allocations: 80.02 kB / 0.8002 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.01981, allocations: 68.67 kB / 0.8003 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006766/0.02048, allocations: 0.5011 MB / 0.8008 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.589e-05/0.02055, allocations: 91.81 kB / 0.8009 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.896e-05/0.02059, allocations: 13.48 kB / 0.8009 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.02063, allocations: 20.48 kB / 0.8009 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of SimCode: time 6.81e-07/0.02063, allocations: 4 kB / 0.8009 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.008174/0.02881, allocations: 6.394 MB / 0.8071 GB, free: 7.742 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_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.413353795884177]