Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001251/0.001251, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001681/0.001681, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.855/1.855, allocations: 359 MB / 0.6052 GB, free: 10.96 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.CalendarTimeMonthsMinus,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.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.7871 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.088e-05, allocations: 13.06 kB / 0.7872 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002568/0.002599, allocations: 1.784 MB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.003886, allocations: 0.6143 MB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.003987, allocations: 0 / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.004099, allocations: 7.875 kB / 0.7895 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.004245, allocations: 40.78 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008522/0.005097, allocations: 369.3 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.005709, allocations: 0.6009 MB / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.00583, allocations: 17.3 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/0.006367, allocations: 419.6 kB / 0.7909 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.006665, allocations: 146.2 kB / 0.791 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.385e-05/0.006739, allocations: 41.03 kB / 0.7911 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.0068, allocations: 40 kB / 0.7911 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.006922, allocations: 135.6 kB / 0.7913 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.007058, allocations: 148.9 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.0075, allocations: 434.7 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007503, allocations: 4 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/0.007504, allocations: 1.656 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.007513, allocations: 0 / 0.7918 GB, free: 7.617 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.001097/0.00861, allocations: 0.9455 MB / 0.7927 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.00865, allocations: 13.16 kB / 0.7927 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.008772, allocations: 64.66 kB / 0.7928 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.009088, allocations: 282.8 kB / 0.7931 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.009134, allocations: 20.36 kB / 0.7931 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.00919, allocations: 33.95 kB / 0.7931 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.009559, allocations: 209 kB / 0.7933 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.009568, allocations: 1.5 kB / 0.7933 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.009592, allocations: 12.36 kB / 0.7933 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.0096, allocations: 384 / 0.7933 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.009709, allocations: 73.81 kB / 0.7934 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008078/0.01052, allocations: 0.6048 MB / 0.794 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.01087, allocations: 131.1 kB / 0.7941 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.01097, allocations: 71.94 kB / 0.7942 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.011, allocations: 4 kB / 0.7942 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.0112, allocations: 182.1 kB / 0.7944 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.0112, allocations: 0 / 0.7944 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005362/0.01174, allocations: 373 kB / 0.7947 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.01178, allocations: 67.98 kB / 0.7948 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.01207, allocations: 438.7 kB / 0.7952 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.0121, allocations: 37.7 kB / 0.7953 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.01217, allocations: 148.1 kB / 0.7954 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.01221, allocations: 51.61 kB / 0.7954 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.01234, allocations: 139.1 kB / 0.7956 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.01245, allocations: 0.4923 MB / 0.7961 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.01266, allocations: 187.3 kB / 0.7962 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.01287, allocations: 253.1 kB / 0.7965 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.01311, allocations: 291.3 kB / 0.7968 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01311, allocations: 0 / 0.7968 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005659/0.01368, allocations: 0.5703 MB / 0.7973 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.234e-05/0.01374, allocations: 91.38 kB / 0.7974 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01374, allocations: 0 / 0.7974 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.01376, allocations: 12.17 kB / 0.7974 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.0139, allocations: 35.91 kB / 0.7974 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.0139, allocations: 0 / 0.7974 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.01427, allocations: 47.86 kB / 0.7975 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/0.01433, allocations: 63.98 kB / 0.7975 GB, free: 1.41 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.0001314/0.01446, allocations: 187.1 kB / 0.7977 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.01451, allocations: 43.7 kB / 0.7978 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.01456, allocations: 39.72 kB / 0.7978 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01457, allocations: 8 kB / 0.7978 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01457, allocations: 0 / 0.7978 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.728e-06/0.01458, allocations: 0 / 0.7978 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/0.01527, allocations: 0.7003 MB / 0.7985 GB, free: 392 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01528, allocations: 0 / 0.7985 GB, free: 392 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.01531, allocations: 7.984 kB / 0.7985 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01531, allocations: 0 / 0.7985 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.01534, allocations: 23.98 kB / 0.7985 GB, free: 360 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.01534, allocations: 11.92 kB / 0.7985 GB, free: 348 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01534, allocations: 0 / 0.7985 GB, free: 348 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.01576, allocations: 474.1 kB / 0.799 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.01593, allocations: 165.5 kB / 0.7992 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.01598, allocations: 16 kB / 0.7992 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.01613, allocations: 19.97 kB / 0.7992 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.01617, allocations: 7.984 kB / 0.7992 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.01621, allocations: 59.98 kB / 0.7993 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001728/0.01639, allocations: 283.1 kB / 0.7995 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01639, allocations: 0 / 0.7995 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002516/0.01664, allocations: 71.98 kB / 0.7996 GB, free: 15.25 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.0001868/0.01683, allocations: 131.1 kB / 0.7997 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.01732, allocations: 441.8 kB / 0.8001 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01732, allocations: 4.375 kB / 0.8001 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.01744, allocations: 86.55 kB / 0.8002 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.01776, allocations: 61.55 kB / 0.8003 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006791/0.01844, allocations: 0.5026 MB / 0.8008 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.239e-05/0.01851, allocations: 91.8 kB / 0.8009 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.01854, allocations: 17.48 kB / 0.8009 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.01858, allocations: 16.5 kB / 0.8009 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of SimCode: time 8.12e-07/0.01858, allocations: 0 / 0.8009 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of Templates: time 0.007503/0.02609, allocations: 6.412 MB / 0.8072 GB, free: 7.367 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.496652245987207]