Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 102.4 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 191.8 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 245.7 MB, free: 4.242 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.111/1.111, allocations: 147.6 MB / 445.5 MB, free: 8.219 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2726/0.2726, allocations: 65.88 kB / 0.6109 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.45, allocations: 83.16 MB / 0.6922 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003293/0.4533, allocations: 1.716 MB / 0.6938 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.4551, allocations: 0.6238 MB / 0.6944 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.4553, allocations: 1.406 kB / 0.6944 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.4555, allocations: 15.81 kB / 0.6945 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.4557, allocations: 31.64 kB / 0.6945 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.457, allocations: 362.9 kB / 0.6948 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009507/0.458, allocations: 0.635 MB / 0.6955 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.4581, allocations: 30.84 kB / 0.6955 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005509/0.4587, allocations: 305.2 kB / 0.6958 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.4591, allocations: 168.8 kB / 0.6959 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.4593, allocations: 39.88 kB / 0.696 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.4594, allocations: 41.25 kB / 0.696 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.4596, allocations: 133.1 kB / 0.6961 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.4599, allocations: 212.8 kB / 0.6963 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008068/0.4607, allocations: 0.5937 MB / 0.6969 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.4608, allocations: 0 / 0.6969 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4608, allocations: 0 / 0.6969 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.21e-05/0.4608, allocations: 0 / 0.6969 GB, free: 9.957 MB / 0.5137 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.001979/0.4628, allocations: 0.9261 MB / 0.6978 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.4628, allocations: 8.844 kB / 0.6978 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.831e-05/0.4629, allocations: 38.03 kB / 0.6979 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.4631, allocations: 64.3 kB / 0.6979 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.4636, allocations: 334.6 kB / 0.6983 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.79e-05/0.4637, allocations: 24.36 kB / 0.6983 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/0.4638, allocations: 24.38 kB / 0.6983 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.4648, allocations: 241.9 kB / 0.6985 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4648, allocations: 3.938 kB / 0.6985 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.4648, allocations: 11.98 kB / 0.6985 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4649, allocations: 0 / 0.6985 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007806/0.4656, allocations: 111.9 kB / 0.6987 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.467, allocations: 0.6797 MB / 0.6993 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.4681, allocations: 182.5 kB / 0.6995 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007594/0.4688, allocations: 116.8 kB / 0.6996 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.4689, allocations: 4 kB / 0.6996 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.4699, allocations: 227.2 kB / 0.6998 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.4699, allocations: 0 / 0.6998 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002757/0.4727, allocations: 0.4922 MB / 0.7003 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.4728, allocations: 63.39 kB / 0.7004 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/0.4734, allocations: 441.9 kB / 0.7008 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.08e-05/0.4735, allocations: 41.69 kB / 0.7008 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4736, allocations: 105.3 kB / 0.7009 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.4737, allocations: 43.69 kB / 0.701 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.4739, allocations: 137.5 kB / 0.7011 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4741, allocations: 326.8 kB / 0.7014 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.4744, allocations: 139.9 kB / 0.7015 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.4748, allocations: 187.5 kB / 0.7017 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.4752, allocations: 302.7 kB / 0.702 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4752, allocations: 4 kB / 0.702 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009395/0.4762, allocations: 0.5136 MB / 0.7025 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.4763, allocations: 91.38 kB / 0.7026 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4763, allocations: 8.188 kB / 0.7026 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.4763, allocations: 4 kB / 0.7026 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.4765, allocations: 23.92 kB / 0.7026 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4765, allocations: 7.984 kB / 0.7026 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.4771, allocations: 59.78 kB / 0.7027 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.4772, allocations: 63.92 kB / 0.7028 GB, free: 3.832 MB / 0.5137 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.0003025/0.4775, allocations: 216.3 kB / 0.703 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.4776, allocations: 35.77 kB / 0.703 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.4777, allocations: 43.78 kB / 0.703 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4777, allocations: 4 kB / 0.703 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4777, allocations: 3.984 kB / 0.7031 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4777, allocations: 0 / 0.7031 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.48, allocations: 0.7912 MB / 0.7038 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.48, allocations: 3.938 kB / 0.7038 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.48, allocations: 4 kB / 0.7038 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.48, allocations: 0 / 0.7038 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.4801, allocations: 23.91 kB / 0.7039 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.4801, allocations: 4 kB / 0.7039 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4801, allocations: 7.938 kB / 0.7039 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.4819, allocations: 487.4 kB / 0.7043 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.4822, allocations: 244.6 kB / 0.7046 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.4823, allocations: 19.94 kB / 0.7046 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.4828, allocations: 31.97 kB / 0.7046 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.4828, allocations: 7.984 kB / 0.7046 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.4829, allocations: 63.97 kB / 0.7047 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003698/0.4833, allocations: 311.1 kB / 0.705 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.304e-06/0.4833, allocations: 4 kB / 0.705 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004206/0.4837, allocations: 75.92 kB / 0.7051 GB, free: 1.379 MB / 0.5137 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.002213/0.486, allocations: 1.035 MB / 0.7061 GB, free: 324 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.4874, allocations: 474.4 kB / 0.7065 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4874, allocations: 0 / 0.7065 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.4882, allocations: 124.3 kB / 0.7066 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.4886, allocations: 39.61 kB / 0.7067 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.4934, allocations: 3.023 MB / 0.7096 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.4939, allocations: 0.7903 MB / 0.7104 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.091e-05/0.494, allocations: 17.58 kB / 0.7104 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.4941, allocations: 27.42 kB / 0.7104 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.4941, allocations: 0 / 0.7104 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.5233, allocations: 6.708 MB / 0.717 GB, free: 5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.617, allocations: 13.53 kB / 0.717 GB, free: 4.988 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.36136093782261] Failed to read output from testmodel.py, exit status != 0: 8.686562980059534 8.705960278 8.241153253 Calling exit ...