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.001082/0.001082, 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.001936/0.001936, allocations: 169 kB / 24.28 MB, free: 272 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.028/1.028, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.781/1.781, allocations: 359 MB / 0.6055 GB, free: 10.97 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 4.128e-06/4.128e-06, allocations: 0 / 0.7871 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.636e-05/4.049e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003853/0.003893, allocations: 1.777 MB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.005649, allocations: 0.6066 MB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.005765, allocations: 0 / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.005903, allocations: 21.23 kB / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.006069, allocations: 31.84 kB / 0.7895 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.007214, allocations: 369.7 kB / 0.7899 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007317/0.007946, allocations: 0.6009 MB / 0.7905 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.008089, allocations: 25.28 kB / 0.7905 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006437/0.008733, allocations: 419.5 kB / 0.7909 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.0091, allocations: 137.3 kB / 0.791 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.009194, allocations: 44 kB / 0.7911 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.009268, allocations: 40 kB / 0.7911 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.009425, allocations: 131.6 kB / 0.7912 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.009626, allocations: 147.7 kB / 0.7914 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.01023, allocations: 435.3 kB / 0.7918 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.01023, allocations: 0.5312 kB / 0.7918 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01023, allocations: 3.938 kB / 0.7918 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.01024, allocations: 1.125 kB / 0.7918 GB, free: 7.969 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.00151/0.01175, allocations: 0.9455 MB / 0.7927 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.01181, allocations: 9.781 kB / 0.7927 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.012, allocations: 64.66 kB / 0.7928 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.01246, allocations: 278.8 kB / 0.793 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.01253, allocations: 20.36 kB / 0.7931 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.462e-05/0.01262, allocations: 49.59 kB / 0.7931 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006267/0.01325, allocations: 212.4 kB / 0.7933 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01326, allocations: 192 / 0.7933 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.0133, allocations: 4.375 kB / 0.7933 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.01331, allocations: 4.375 kB / 0.7933 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.01352, allocations: 68.3 kB / 0.7934 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.0148, allocations: 0.6064 MB / 0.794 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.01512, allocations: 124 kB / 0.7941 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.0153, allocations: 67.66 kB / 0.7942 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.01532, allocations: 4 kB / 0.7942 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003519/0.01568, allocations: 181.4 kB / 0.7943 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.01568, allocations: 5.781 kB / 0.7943 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0009614/0.01664, allocations: 388 kB / 0.7947 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.01671, allocations: 59.39 kB / 0.7948 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/0.01724, allocations: 426.7 kB / 0.7952 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.077e-05/0.01731, allocations: 45.69 kB / 0.7952 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.01743, allocations: 148.1 kB / 0.7954 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.01749, allocations: 43.62 kB / 0.7954 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.01772, allocations: 143.1 kB / 0.7955 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.0179, allocations: 0.4923 MB / 0.796 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.01827, allocations: 187.3 kB / 0.7962 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.01866, allocations: 257 kB / 0.7964 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.01908, allocations: 282.7 kB / 0.7967 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.01908, allocations: 0 / 0.7967 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001058/0.02014, allocations: 0.5798 MB / 0.7973 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.02026, allocations: 91.36 kB / 0.7974 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.02027, allocations: 4 kB / 0.7974 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/0.0203, allocations: 0 / 0.7974 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.02054, allocations: 31.92 kB / 0.7974 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.02055, allocations: 7.984 kB / 0.7974 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.02083, allocations: 43.88 kB / 0.7975 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/0.0209, allocations: 67.95 kB / 0.7975 GB, free: 1.762 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.0002075/0.02111, allocations: 195.2 kB / 0.7977 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.02118, allocations: 47.7 kB / 0.7978 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.097e-05/0.02125, allocations: 43.66 kB / 0.7978 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.02125, allocations: 0 / 0.7978 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.02126, allocations: 0 / 0.7978 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02126, allocations: 0 / 0.7978 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007266/0.02199, allocations: 0.6965 MB / 0.7985 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02199, allocations: 0 / 0.7985 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.02202, allocations: 8 kB / 0.7985 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.02203, allocations: 0 / 0.7985 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.02205, allocations: 23.97 kB / 0.7985 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.02205, allocations: 0 / 0.7985 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.02206, allocations: 7.984 kB / 0.7985 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.02248, allocations: 467.9 kB / 0.799 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.02265, allocations: 177.4 kB / 0.7991 GB, free: 40 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.0227, allocations: 16 kB / 0.7991 GB, free: 24 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.02287, allocations: 23.61 kB / 0.7992 GB, free: 4 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.02292, allocations: 12.06 kB / 0.7992 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.02296, allocations: 59.97 kB / 0.7992 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001824/0.02314, allocations: 279.1 kB / 0.7995 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02314, allocations: 0 / 0.7995 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002332/0.02338, allocations: 67.98 kB / 0.7996 GB, free: 15.59 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.0001501/0.02353, allocations: 119.2 kB / 0.7997 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004919/0.02402, allocations: 460.1 kB / 0.8001 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.02402, allocations: 0 / 0.8001 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.02419, allocations: 79.97 kB / 0.8002 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.02449, allocations: 71.92 kB / 0.8003 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.02511, allocations: 0.4947 MB / 0.8007 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.633e-05/0.02516, allocations: 95.8 kB / 0.8008 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.1e-05/0.0252, allocations: 17.48 kB / 0.8009 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.02524, allocations: 20.48 kB / 0.8009 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of SimCode: time 8.42e-07/0.02524, allocations: 0 / 0.8009 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of Templates: time 0.007269/0.03251, allocations: 6.403 MB / 0.8071 GB, free: 7.711 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.297202362911776]