Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001346/0.001346, allocations: 112.1 kB / 17.07 MB, free: 5.988 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.00158/0.001579, allocations: 191.8 kB / 20.03 MB, free: 3.059 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.493/1.493, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.119/1.119, allocations: 147.6 MB / 445.6 MB, free: 8.211 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.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.27 kB / 0.6109 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1401, allocations: 83.15 MB / 0.6922 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003228/0.1433, allocations: 1.725 MB / 0.6938 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1448, allocations: 0.6279 MB / 0.6945 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.421e-05/0.1449, allocations: 0 / 0.6945 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.145, allocations: 13.02 kB / 0.6945 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1452, allocations: 30.69 kB / 0.6945 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009243/0.1461, allocations: 365.2 kB / 0.6948 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007607/0.1469, allocations: 0.6446 MB / 0.6955 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.147, allocations: 23.41 kB / 0.6955 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004801/0.1475, allocations: 317.3 kB / 0.6958 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.1479, allocations: 156.9 kB / 0.6959 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.148, allocations: 39.88 kB / 0.696 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1481, allocations: 41.25 kB / 0.696 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.1483, allocations: 125.1 kB / 0.6961 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.1486, allocations: 220.8 kB / 0.6964 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006917/0.1493, allocations: 0.5932 MB / 0.6969 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1493, allocations: 1.5 kB / 0.6969 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1493, allocations: 0 / 0.6969 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.1493, allocations: 0 / 0.6969 GB, free: 9.918 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.001454/0.1508, allocations: 0.9169 MB / 0.6978 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1508, allocations: 8.031 kB / 0.6978 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.596e-05/0.1509, allocations: 46.67 kB / 0.6979 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.151, allocations: 60.66 kB / 0.6979 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.1514, allocations: 338.5 kB / 0.6983 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.1515, allocations: 20.36 kB / 0.6983 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.182e-05/0.1516, allocations: 32.36 kB / 0.6983 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.1526, allocations: 235.7 kB / 0.6985 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1527, allocations: 3.938 kB / 0.6985 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.1527, allocations: 3.938 kB / 0.6985 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1527, allocations: 4 kB / 0.6985 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007967/0.1535, allocations: 115.9 kB / 0.6987 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.155, allocations: 0.6682 MB / 0.6993 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1561, allocations: 188.3 kB / 0.6995 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/0.1569, allocations: 116.8 kB / 0.6996 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1569, allocations: 8 kB / 0.6996 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000996/0.1579, allocations: 233.6 kB / 0.6998 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.1579, allocations: 0 / 0.6998 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002733/0.1607, allocations: 0.4933 MB / 0.7003 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.1607, allocations: 59.41 kB / 0.7004 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.1613, allocations: 437.9 kB / 0.7008 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.1614, allocations: 49.69 kB / 0.7008 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.1616, allocations: 101.4 kB / 0.7009 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.1616, allocations: 47.67 kB / 0.701 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.1619, allocations: 133.5 kB / 0.7011 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.162, allocations: 322.8 kB / 0.7014 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.1624, allocations: 139.9 kB / 0.7015 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.1628, allocations: 189.9 kB / 0.7017 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.1632, allocations: 310.4 kB / 0.702 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1632, allocations: 0 / 0.702 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009336/0.1642, allocations: 0.5123 MB / 0.7025 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.1643, allocations: 99.38 kB / 0.7026 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1644, allocations: 0 / 0.7026 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1644, allocations: 7.984 kB / 0.7026 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.1645, allocations: 19.92 kB / 0.7026 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.1646, allocations: 4 kB / 0.7026 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.1651, allocations: 64.03 kB / 0.7027 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/0.1652, allocations: 63.92 kB / 0.7028 GB, free: 3.754 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.0002726/0.1654, allocations: 213.9 kB / 0.703 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.1655, allocations: 35.77 kB / 0.703 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.1656, allocations: 43.8 kB / 0.703 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1656, allocations: 4 kB / 0.7031 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1656, allocations: 0 / 0.7031 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1656, allocations: 3.984 kB / 0.7031 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.1679, allocations: 0.7912 MB / 0.7038 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.168, allocations: 3.984 kB / 0.7038 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.499e-05/0.168, allocations: 4 kB / 0.7038 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.168, allocations: 4 kB / 0.7038 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.1681, allocations: 27.91 kB / 0.7039 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1681, allocations: 0 / 0.7039 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1681, allocations: 0 / 0.7039 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.17, allocations: 486.6 kB / 0.7043 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.1703, allocations: 252.6 kB / 0.7046 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/0.1704, allocations: 19.94 kB / 0.7046 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/0.1709, allocations: 31.95 kB / 0.7046 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.171, allocations: 15.98 kB / 0.7046 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.1711, allocations: 51.98 kB / 0.7047 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003895/0.1714, allocations: 323.1 kB / 0.705 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1715, allocations: 0 / 0.705 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004504/0.1719, allocations: 64 kB / 0.7051 GB, free: 1.312 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.002279/0.1742, allocations: 1.04 MB / 0.7061 GB, free: 248 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.1757, allocations: 474.5 kB / 0.7065 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1757, allocations: 0 / 0.7065 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.1765, allocations: 130 kB / 0.7066 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.1769, allocations: 38.48 kB / 0.7067 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/0.1822, allocations: 3.026 MB / 0.7096 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.1826, allocations: 0.7863 MB / 0.7104 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.68e-05/0.1827, allocations: 21.42 kB / 0.7104 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.1828, allocations: 31.42 kB / 0.7105 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.1828, allocations: 0 / 0.7105 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.2139, allocations: 6.703 MB / 0.717 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.285, allocations: 13.7 kB / 0.717 GB, free: 4.91 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.179522925056517] Failed to read output from testmodel.py, exit status != 0: 8.682438438991085 8.384454637 8.230616354 Calling exit ...