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.0009945/0.0009945, 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.0009893/0.0009893, 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.933/0.933, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.725/1.725, allocations: 359 MB / 0.6052 GB, free: 11.03 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.533e-06/1.533e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.056e-05, allocations: 13 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.005517/0.005537, allocations: 1.78 MB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.009801, allocations: 0.6153 MB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.00988, allocations: 0 / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.808e-05/0.009958, allocations: 9 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.01006, allocations: 35.78 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.01106, allocations: 372.5 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.01158, allocations: 0.597 MB / 0.7905 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.331e-05/0.01166, allocations: 22.2 kB / 0.7905 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004329/0.01209, allocations: 419.6 kB / 0.7909 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.01231, allocations: 151.8 kB / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.693e-05/0.01239, allocations: 40 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-05/0.01245, allocations: 40 kB / 0.7911 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.835e-05/0.01255, allocations: 131.6 kB / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.01268, allocations: 143.7 kB / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.01307, allocations: 436.1 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01307, allocations: 4 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01307, allocations: 0 / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.01308, allocations: 1.594 kB / 0.7918 GB, free: 7.688 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.0009683/0.01405, allocations: 0.9416 MB / 0.7927 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.01408, allocations: 12.03 kB / 0.7927 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.0142, allocations: 72.19 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.0145, allocations: 278.8 kB / 0.7931 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.01454, allocations: 24.36 kB / 0.7931 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.0146, allocations: 32.3 kB / 0.7931 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.01502, allocations: 222.6 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.01502, allocations: 192 / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.01505, allocations: 384 / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.01505, allocations: 9.25 kB / 0.7933 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.01519, allocations: 68.05 kB / 0.7934 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008468/0.01603, allocations: 0.6114 MB / 0.794 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.01627, allocations: 121 kB / 0.7941 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.0164, allocations: 68.91 kB / 0.7942 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.01641, allocations: 4 kB / 0.7942 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.01664, allocations: 182.8 kB / 0.7944 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.01665, allocations: 0 / 0.7944 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0006448/0.01729, allocations: 383.1 kB / 0.7947 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.01733, allocations: 67.39 kB / 0.7948 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.01767, allocations: 426.7 kB / 0.7952 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.01771, allocations: 37.7 kB / 0.7952 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.01779, allocations: 160.1 kB / 0.7954 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.01782, allocations: 39.62 kB / 0.7954 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.01798, allocations: 143.1 kB / 0.7956 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.0181, allocations: 0.4884 MB / 0.796 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.01837, allocations: 191.3 kB / 0.7962 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.01863, allocations: 253 kB / 0.7965 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.01892, allocations: 287 kB / 0.7967 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01893, allocations: 0 / 0.7967 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007453/0.01967, allocations: 0.578 MB / 0.7973 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/0.01973, allocations: 89.09 kB / 0.7974 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01973, allocations: 0 / 0.7974 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.01975, allocations: 4 kB / 0.7974 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.01988, allocations: 40.09 kB / 0.7974 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.01988, allocations: 8 kB / 0.7974 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.0201, allocations: 47.86 kB / 0.7975 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.02016, allocations: 55.98 kB / 0.7975 GB, free: 1.48 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.0001416/0.02031, allocations: 187.1 kB / 0.7977 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.02037, allocations: 47.7 kB / 0.7978 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.02042, allocations: 43.7 kB / 0.7978 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.02042, allocations: 0 / 0.7978 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.02042, allocations: 4 kB / 0.7978 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.02043, allocations: 0 / 0.7978 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007639/0.02119, allocations: 0.7081 MB / 0.7985 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.02119, allocations: 0 / 0.7985 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.02122, allocations: 11.98 kB / 0.7985 GB, free: 440 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.02122, allocations: 0 / 0.7985 GB, free: 440 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.02125, allocations: 15.98 kB / 0.7985 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02125, allocations: 3.984 kB / 0.7985 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.02125, allocations: 3.984 kB / 0.7985 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.02179, allocations: 471.9 kB / 0.799 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.02199, allocations: 173.4 kB / 0.7991 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.02205, allocations: 16 kB / 0.7992 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.02224, allocations: 23.97 kB / 0.7992 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.02227, allocations: 7.984 kB / 0.7992 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.02232, allocations: 55.98 kB / 0.7992 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000198/0.02252, allocations: 279.1 kB / 0.7995 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02252, allocations: 4 kB / 0.7995 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003147/0.02283, allocations: 67.98 kB / 0.7996 GB, free: 15.31 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.0001092/0.02294, allocations: 119.2 kB / 0.7997 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005371/0.02348, allocations: 456.2 kB / 0.8001 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.02348, allocations: 0 / 0.8001 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.02362, allocations: 87.97 kB / 0.8002 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.02395, allocations: 68.58 kB / 0.8003 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.02457, allocations: 0.4897 MB / 0.8008 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.161e-05/0.02463, allocations: 95.8 kB / 0.8008 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.02467, allocations: 13.48 kB / 0.8009 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.02471, allocations: 16.5 kB / 0.8009 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of SimCode: time 7.52e-07/0.02471, allocations: 7.938 kB / 0.8009 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of Templates: time 0.008742/0.03345, allocations: 7.034 MB / 0.8078 GB, free: 6.809 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.1092672711238265]