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.001404/0.001404, 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.001083/0.001083, 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 0.9631/0.9631, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.6052 GB, free: 11.04 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 1.703e-06/1.703e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.956e-05, allocations: 5.891 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.00301/0.003039, allocations: 1.782 MB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.004628, allocations: 0.6159 MB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.004704, allocations: 5.344 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.00482, allocations: 7.875 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.004972, allocations: 35.78 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.00591, allocations: 372.8 kB / 0.7899 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006855/0.006596, allocations: 0.6009 MB / 0.7905 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.006712, allocations: 26.75 kB / 0.7905 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005736/0.007286, allocations: 415.6 kB / 0.7909 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.007621, allocations: 144.4 kB / 0.791 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.007728, allocations: 40.97 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.143e-05/0.00782, allocations: 40 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.007975, allocations: 128.4 kB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.008161, allocations: 147.7 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.008689, allocations: 441.2 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.008692, allocations: 0 / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.008692, allocations: 4 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.008698, allocations: 0 / 0.7918 GB, free: 7.699 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.001282/0.00998, allocations: 0.9416 MB / 0.7927 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.01002, allocations: 8.031 kB / 0.7927 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.01018, allocations: 70.34 kB / 0.7928 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.0106, allocations: 286.8 kB / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.01065, allocations: 20.36 kB / 0.7931 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.01074, allocations: 32.36 kB / 0.7931 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.01129, allocations: 219.1 kB / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.0113, allocations: 192 / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.01133, allocations: 8.375 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.01134, allocations: 384 / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.0115, allocations: 66.22 kB / 0.7934 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.01266, allocations: 0.6047 MB / 0.794 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.01297, allocations: 130.4 kB / 0.7941 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.01313, allocations: 71.25 kB / 0.7942 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.01316, allocations: 0 / 0.7942 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.01345, allocations: 187.5 kB / 0.7944 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.01345, allocations: 1.125 kB / 0.7944 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0008096/0.01426, allocations: 386.8 kB / 0.7947 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.0143, allocations: 59.39 kB / 0.7948 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004452/0.01474, allocations: 434.7 kB / 0.7952 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.0148, allocations: 37.7 kB / 0.7952 GB, free: 4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.01489, allocations: 148.1 kB / 0.7954 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.01493, allocations: 43.69 kB / 0.7954 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.01513, allocations: 139.1 kB / 0.7956 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.01527, allocations: 0.4962 MB / 0.796 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.01558, allocations: 187.3 kB / 0.7962 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.0159, allocations: 257 kB / 0.7965 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.01624, allocations: 279.4 kB / 0.7967 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01625, allocations: 0 / 0.7967 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008295/0.01707, allocations: 0.5804 MB / 0.7973 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.01713, allocations: 87.38 kB / 0.7974 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01714, allocations: 7.938 kB / 0.7974 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.01715, allocations: 4 kB / 0.7974 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.01728, allocations: 35.91 kB / 0.7974 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.01728, allocations: 0 / 0.7974 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.01746, allocations: 48.05 kB / 0.7975 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/0.01752, allocations: 71.97 kB / 0.7975 GB, free: 1.484 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.0001246/0.01764, allocations: 187.1 kB / 0.7977 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.0177, allocations: 43.7 kB / 0.7978 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.01775, allocations: 39.72 kB / 0.7978 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01775, allocations: 0 / 0.7978 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.01775, allocations: 4 kB / 0.7978 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01776, allocations: 0 / 0.7978 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006523/0.01841, allocations: 0.6965 MB / 0.7985 GB, free: 476 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01841, allocations: 4 kB / 0.7985 GB, free: 472 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.01844, allocations: 11.98 kB / 0.7985 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01844, allocations: 0 / 0.7985 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.01846, allocations: 15.98 kB / 0.7985 GB, free: 444 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01847, allocations: 7.984 kB / 0.7985 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01847, allocations: 3.984 kB / 0.7985 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.01887, allocations: 474.1 kB / 0.799 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.01904, allocations: 177.4 kB / 0.7991 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.01909, allocations: 19.94 kB / 0.7992 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.01924, allocations: 19.97 kB / 0.7992 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.01927, allocations: 11.98 kB / 0.7992 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/0.01932, allocations: 55.98 kB / 0.7992 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001677/0.01948, allocations: 283 kB / 0.7995 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01948, allocations: 0 / 0.7995 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002417/0.01973, allocations: 68 kB / 0.7996 GB, free: 15.32 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.0001165/0.01984, allocations: 119.2 kB / 0.7997 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.02029, allocations: 453.7 kB / 0.8001 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02029, allocations: 0 / 0.8001 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.0204, allocations: 80.03 kB / 0.8002 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.02069, allocations: 74.44 kB / 0.8003 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.02125, allocations: 0.4936 MB / 0.8008 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.099e-05/0.0213, allocations: 95.81 kB / 0.8008 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.02134, allocations: 13.48 kB / 0.8009 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.02137, allocations: 16.5 kB / 0.8009 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of SimCode: time 4.71e-07/0.02137, allocations: 0 / 0.8009 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of Templates: time 0.007548/0.02892, allocations: 6.397 MB / 0.8071 GB, free: 7.453 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.336305029690266]