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.001923/0.001923, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002328/0.002328, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.812/2.812, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.713e-06/1.713e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.355e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002978/0.003001, allocations: 1.748 MB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.004465, allocations: 0.6136 MB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.004517, allocations: 4 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.25e-05/0.00461, allocations: 11.86 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.00474, allocations: 41.16 kB / 0.7888 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000862/0.005602, allocations: 367.2 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006981/0.0063, allocations: 0.5977 MB / 0.7897 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.006387, allocations: 21.3 kB / 0.7897 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.006989, allocations: 424.5 kB / 0.7901 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.007294, allocations: 145.9 kB / 0.7903 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.007396, allocations: 40 kB / 0.7903 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.00749, allocations: 40 kB / 0.7903 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.007641, allocations: 127.6 kB / 0.7905 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.007839, allocations: 151.7 kB / 0.7906 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007602/0.0086, allocations: 0.6427 MB / 0.7912 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.008602, allocations: 1.844 kB / 0.7912 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.82e-07/0.008603, allocations: 0 / 0.7912 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.008608, allocations: 0 / 0.7912 GB, free: 7.844 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.001383/0.009991, allocations: 0.8384 MB / 0.7921 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.01003, allocations: 12.03 kB / 0.7921 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.01021, allocations: 61.19 kB / 0.7921 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.01066, allocations: 285.6 kB / 0.7924 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.01072, allocations: 20.36 kB / 0.7924 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.903e-05/0.01081, allocations: 36.3 kB / 0.7925 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.01194, allocations: 247 kB / 0.7927 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.01195, allocations: 192 / 0.7927 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.01198, allocations: 5.219 kB / 0.7927 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.01199, allocations: 4.375 kB / 0.7927 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008857/0.01287, allocations: 134.4 kB / 0.7928 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.01418, allocations: 0.5391 MB / 0.7934 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.01531, allocations: 181.3 kB / 0.7935 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008469/0.01616, allocations: 130.2 kB / 0.7937 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.01618, allocations: 0 / 0.7937 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.01726, allocations: 246 kB / 0.7939 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.01726, allocations: 0 / 0.7939 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.004072/0.02133, allocations: 0.5469 MB / 0.7944 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.0214, allocations: 62 kB / 0.7945 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/0.02199, allocations: 441.9 kB / 0.7949 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/0.02207, allocations: 41.69 kB / 0.7949 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.02218, allocations: 101.4 kB / 0.795 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.02224, allocations: 47.67 kB / 0.7951 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.02249, allocations: 133.5 kB / 0.7952 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.02268, allocations: 323.5 kB / 0.7955 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.02315, allocations: 227.2 kB / 0.7957 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.0236, allocations: 278.8 kB / 0.796 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.02408, allocations: 293.1 kB / 0.7963 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.02408, allocations: 0 / 0.7963 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001163/0.02524, allocations: 0.6367 MB / 0.7969 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.02535, allocations: 87.38 kB / 0.797 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.02536, allocations: 7.938 kB / 0.797 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.02538, allocations: 5.344 kB / 0.797 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.02556, allocations: 23.91 kB / 0.797 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.02557, allocations: 4 kB / 0.797 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.02614, allocations: 66.06 kB / 0.7971 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.02624, allocations: 59.98 kB / 0.7971 GB, free: 1.5 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.0003294/0.02657, allocations: 221.5 kB / 0.7974 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.02668, allocations: 51.69 kB / 0.7974 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.309e-05/0.02676, allocations: 41.52 kB / 0.7975 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.02676, allocations: 0 / 0.7975 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.02677, allocations: 0 / 0.7975 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.02679, allocations: 3.984 kB / 0.7975 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/0.02925, allocations: 0.7464 MB / 0.7982 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02925, allocations: 0 / 0.7982 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.02929, allocations: 8.641 kB / 0.7982 GB, free: 392 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.02929, allocations: 0.7188 kB / 0.7982 GB, free: 392 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.02934, allocations: 23.97 kB / 0.7982 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.02934, allocations: 6.844 kB / 0.7982 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.02934, allocations: 0 / 0.7982 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.03143, allocations: 0.5232 MB / 0.7987 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.03179, allocations: 177.5 kB / 0.7989 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.03187, allocations: 16 kB / 0.7989 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.0324, allocations: 35.97 kB / 0.799 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.03244, allocations: 12.92 kB / 0.799 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.034e-05/0.03252, allocations: 55.97 kB / 0.799 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004204/0.03294, allocations: 319.3 kB / 0.7993 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.03294, allocations: 4 kB / 0.7993 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004083/0.03335, allocations: 71.94 kB / 0.7994 GB, free: 15.14 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.0001936/0.03354, allocations: 119.2 kB / 0.7995 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.03513, allocations: 0.5293 MB / 0.8 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.03513, allocations: 4.125 kB / 0.8 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000879/0.03601, allocations: 131.8 kB / 0.8002 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.03648, allocations: 63.73 kB / 0.8002 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.03825, allocations: 0.63 MB / 0.8008 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.03847, allocations: 178.8 kB / 0.801 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.822e-05/0.03854, allocations: 13.48 kB / 0.801 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.0386, allocations: 24.48 kB / 0.801 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of SimCode: time 5.41e-07/0.0386, allocations: 0 / 0.801 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of Templates: time 0.01179/0.05038, allocations: 6.405 MB / 0.8073 GB, free: 6.926 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.13539472699631]