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.001328/0.001328, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001633/0.001633, allocations: 185 kB / 24.09 MB, free: 416 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 0.9748/0.9748, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.771/1.771, allocations: 359 MB / 0.6055 GB, free: 10.87 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 2.445e-06/2.445e-06, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.995e-05, allocations: 3.094 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002365/0.002395, allocations: 1.783 MB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.003734, allocations: 0.6039 MB / 0.7899 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.003806, allocations: 4 kB / 0.7899 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.942e-05/0.003906, allocations: 11.86 kB / 0.79 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.004033, allocations: 40.34 kB / 0.79 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.004684, allocations: 373.5 kB / 0.7904 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004909/0.005175, allocations: 0.5975 MB / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.005275, allocations: 25.28 kB / 0.791 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004466/0.005722, allocations: 420.3 kB / 0.7914 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.005942, allocations: 155.3 kB / 0.7915 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.006005, allocations: 41.34 kB / 0.7915 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.175e-05/0.006067, allocations: 40 kB / 0.7916 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.833e-05/0.006165, allocations: 123.7 kB / 0.7917 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.006271, allocations: 151.7 kB / 0.7918 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.006608, allocations: 440.3 kB / 0.7923 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.006612, allocations: 0 / 0.7923 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.213e-06/0.006613, allocations: 0 / 0.7923 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.006618, allocations: 0 / 0.7923 GB, free: 7.371 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.0008678/0.007486, allocations: 0.9535 MB / 0.7932 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.007525, allocations: 12.03 kB / 0.7932 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.007618, allocations: 60.66 kB / 0.7933 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.007875, allocations: 282.7 kB / 0.7935 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.007913, allocations: 28.36 kB / 0.7936 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.00796, allocations: 32.36 kB / 0.7936 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.008304, allocations: 206.5 kB / 0.7938 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.008312, allocations: 1.812 kB / 0.7938 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.008329, allocations: 4.375 kB / 0.7938 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.008335, allocations: 4.375 kB / 0.7938 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.478e-05/0.00842, allocations: 57.66 kB / 0.7939 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.009094, allocations: 0.5544 MB / 0.7944 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.00928, allocations: 123.5 kB / 0.7945 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.009358, allocations: 52.08 kB / 0.7946 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.009378, allocations: 7.094 kB / 0.7946 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.009557, allocations: 183.9 kB / 0.7947 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.582e-06/0.009558, allocations: 0 / 0.7947 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000476/0.01003, allocations: 364.6 kB / 0.7951 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.01007, allocations: 63.41 kB / 0.7952 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.01032, allocations: 422.5 kB / 0.7956 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.01035, allocations: 45.69 kB / 0.7956 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.675e-05/0.01042, allocations: 156.1 kB / 0.7958 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.01045, allocations: 39.67 kB / 0.7958 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.01058, allocations: 151.1 kB / 0.7959 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.0107, allocations: 0.4961 MB / 0.7964 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.01086, allocations: 171.3 kB / 0.7966 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.01103, allocations: 233.1 kB / 0.7968 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.01138, allocations: 270.6 kB / 0.7971 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01138, allocations: 4 kB / 0.7971 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004651/0.01185, allocations: 0.5414 MB / 0.7976 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.358e-05/0.01191, allocations: 91.36 kB / 0.7977 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01192, allocations: 0 / 0.7977 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.01193, allocations: 4 kB / 0.7977 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.01204, allocations: 35.92 kB / 0.7977 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01205, allocations: 11.98 kB / 0.7977 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.01221, allocations: 44.06 kB / 0.7978 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.01226, allocations: 67.95 kB / 0.7978 GB, free: 1.344 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.0001296/0.01239, allocations: 187.1 kB / 0.798 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.01244, allocations: 47.7 kB / 0.7981 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.01248, allocations: 35.72 kB / 0.7981 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01248, allocations: 4 kB / 0.7981 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01249, allocations: 0 / 0.7981 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01249, allocations: 0 / 0.7981 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.01308, allocations: 0.6346 MB / 0.7987 GB, free: 404 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01308, allocations: 7.938 kB / 0.7987 GB, free: 396 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.0131, allocations: 0 / 0.7987 GB, free: 396 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01311, allocations: 7.984 kB / 0.7987 GB, free: 388 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.01313, allocations: 19.98 kB / 0.7988 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.01313, allocations: 3.984 kB / 0.7988 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01313, allocations: 0 / 0.7988 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.0135, allocations: 471.8 kB / 0.7992 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.01366, allocations: 165.5 kB / 0.7994 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.01371, allocations: 16 kB / 0.7994 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.01389, allocations: 31.97 kB / 0.7994 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.01391, allocations: 11.98 kB / 0.7994 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.01395, allocations: 55.97 kB / 0.7995 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001304/0.01408, allocations: 263 kB / 0.7997 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01408, allocations: 4 kB / 0.7997 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002303/0.01431, allocations: 75.98 kB / 0.7998 GB, free: 15.26 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.0001295/0.01444, allocations: 115.2 kB / 0.7999 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.01487, allocations: 443.9 kB / 0.8003 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01487, allocations: 0 / 0.8003 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.667e-05/0.01497, allocations: 83.94 kB / 0.8004 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.01524, allocations: 61.55 kB / 0.8005 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005496/0.01579, allocations: 496.7 kB / 0.8009 GB, free: 14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.01584, allocations: 95.83 kB / 0.801 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.341e-05/0.01589, allocations: 17.48 kB / 0.8011 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.01606, allocations: 142.2 kB / 0.8012 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of SimCode: time 7.12e-07/0.01607, allocations: 4 kB / 0.8012 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of Templates: time 0.007304/0.02337, allocations: 5.906 MB / 0.807 GB, free: 7.789 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.026879862416536]