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.001535/0.001535, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001621/0.001621, allocations: 161 kB / 23.82 MB, free: 0.7539 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.036/1.036, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.916/1.916, allocations: 359 MB / 0.6052 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 1.833e-06/1.833e-06, allocations: 0 / 0.7872 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.481e-05/3.664e-05, allocations: 3.312 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.0026/0.002636, allocations: 1.791 MB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.003903, allocations: 0.6117 MB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.004018, allocations: 3.938 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.004137, allocations: 19.8 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.004283, allocations: 24.67 kB / 0.7896 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008456/0.005129, allocations: 364.9 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005688/0.005698, allocations: 0.6009 MB / 0.7905 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.005808, allocations: 25.23 kB / 0.7905 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.006284, allocations: 426.9 kB / 0.7909 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.006537, allocations: 143.4 kB / 0.7911 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.006608, allocations: 44 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.514e-05/0.006674, allocations: 40 kB / 0.7911 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.006787, allocations: 127.6 kB / 0.7913 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.006916, allocations: 159.6 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.007278, allocations: 422.8 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.00728, allocations: 0 / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.31e-07/0.00728, allocations: 0.6875 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.007287, allocations: 0.5938 kB / 0.7918 GB, free: 7.68 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.001013/0.0083, allocations: 0.9548 MB / 0.7927 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.008334, allocations: 8.031 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.008451, allocations: 64.66 kB / 0.7928 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.008766, allocations: 282.8 kB / 0.7931 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.008803, allocations: 17.06 kB / 0.7931 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.008859, allocations: 36.36 kB / 0.7931 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.009254, allocations: 218 kB / 0.7933 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.009261, allocations: 0.7188 kB / 0.7933 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.009282, allocations: 9.094 kB / 0.7934 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.009292, allocations: 384 / 0.7934 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.009409, allocations: 67.52 kB / 0.7934 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.01238, allocations: 0.6087 MB / 0.794 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.01271, allocations: 131.3 kB / 0.7941 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.01287, allocations: 72 kB / 0.7942 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.0129, allocations: 0.6562 kB / 0.7942 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.01321, allocations: 186.1 kB / 0.7944 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.01321, allocations: 1.062 kB / 0.7944 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0008533/0.01407, allocations: 386.5 kB / 0.7948 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.01412, allocations: 59.41 kB / 0.7948 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.01456, allocations: 430.7 kB / 0.7952 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.01462, allocations: 41.69 kB / 0.7953 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.01471, allocations: 156.1 kB / 0.7954 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.01476, allocations: 39.67 kB / 0.7954 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.01498, allocations: 147.1 kB / 0.7956 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.01517, allocations: 0.4923 MB / 0.7961 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.01551, allocations: 183.3 kB / 0.7962 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.01585, allocations: 257 kB / 0.7965 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.01623, allocations: 283.1 kB / 0.7968 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01624, allocations: 0 / 0.7968 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009388/0.01717, allocations: 0.5742 MB / 0.7973 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.945e-05/0.01726, allocations: 87.38 kB / 0.7974 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.01727, allocations: 4 kB / 0.7974 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.01729, allocations: 0 / 0.7974 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.01749, allocations: 43.91 kB / 0.7975 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.0175, allocations: 4.188 kB / 0.7975 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.0178, allocations: 47.86 kB / 0.7975 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.0179, allocations: 55.98 kB / 0.7976 GB, free: 1.461 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.0002056/0.0181, allocations: 195.1 kB / 0.7977 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.01819, allocations: 47.69 kB / 0.7978 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.375e-05/0.01825, allocations: 35.73 kB / 0.7978 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01825, allocations: 0 / 0.7978 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01826, allocations: 0 / 0.7978 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.01827, allocations: 8 kB / 0.7978 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.01933, allocations: 0.7004 MB / 0.7985 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.01933, allocations: 3.984 kB / 0.7985 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.01938, allocations: 7.984 kB / 0.7985 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01938, allocations: 0 / 0.7985 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.01942, allocations: 19.97 kB / 0.7985 GB, free: 404 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.01942, allocations: 4 kB / 0.7985 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01942, allocations: 0 / 0.7985 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.0201, allocations: 471.9 kB / 0.799 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.02038, allocations: 169.8 kB / 0.7992 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.02046, allocations: 16 kB / 0.7992 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.0207, allocations: 19.97 kB / 0.7992 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.02075, allocations: 11.98 kB / 0.7992 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/0.02082, allocations: 59.97 kB / 0.7993 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002671/0.02109, allocations: 283 kB / 0.7995 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02109, allocations: 4 kB / 0.7995 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004087/0.0215, allocations: 64 kB / 0.7996 GB, free: 15.3 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.0001761/0.02167, allocations: 119.2 kB / 0.7997 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007094/0.02238, allocations: 459.8 kB / 0.8001 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.02239, allocations: 0 / 0.8001 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.02256, allocations: 87.97 kB / 0.8002 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.02302, allocations: 63.62 kB / 0.8003 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.02399, allocations: 0.5044 MB / 0.8008 GB, free: 14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.565e-05/0.02406, allocations: 87.81 kB / 0.8009 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.458e-05/0.02412, allocations: 13.48 kB / 0.8009 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.02416, allocations: 20.5 kB / 0.8009 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of SimCode: time 7.01e-07/0.02417, allocations: 0 / 0.8009 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of Templates: time 0.01081/0.03498, allocations: 6.398 MB / 0.8071 GB, free: 7.426 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.453784441109747]