Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001272/0.001272, allocations: 111.4 kB / 17.08 MB, free: 5.973 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.001296/0.001296, allocations: 193.2 kB / 20.03 MB, free: 3.043 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.435/1.435, allocations: 222.9 MB / 245.7 MB, free: 4.176 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.099/1.099, allocations: 147.6 MB / 445.6 MB, free: 8.305 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.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.2 kB / 0.6109 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1557, allocations: 83.17 MB / 0.6922 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002801/0.1585, allocations: 1.713 MB / 0.6938 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1599, allocations: 0.6143 MB / 0.6944 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.16, allocations: 4 kB / 0.6944 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.1601, allocations: 17.11 kB / 0.6945 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.1602, allocations: 35.66 kB / 0.6945 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008499/0.1611, allocations: 360.2 kB / 0.6948 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006691/0.1618, allocations: 0.638 MB / 0.6955 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1619, allocations: 27.61 kB / 0.6955 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.1623, allocations: 313.2 kB / 0.6958 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.1626, allocations: 168.7 kB / 0.6959 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/0.1627, allocations: 39.88 kB / 0.696 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.1628, allocations: 41.25 kB / 0.696 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1629, allocations: 129.1 kB / 0.6961 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.1631, allocations: 212.9 kB / 0.6963 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005885/0.1637, allocations: 0.5922 MB / 0.6969 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1638, allocations: 5.281 kB / 0.6969 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1638, allocations: 0 / 0.6969 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1638, allocations: 4 kB / 0.6969 GB, free: 9.844 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.001299/0.1651, allocations: 0.915 MB / 0.6978 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1651, allocations: 12.06 kB / 0.6978 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.276e-05/0.1652, allocations: 42.73 kB / 0.6979 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1653, allocations: 56.66 kB / 0.6979 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.1657, allocations: 338.5 kB / 0.6982 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.1658, allocations: 20.38 kB / 0.6983 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.1659, allocations: 32.3 kB / 0.6983 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1669, allocations: 234 kB / 0.6985 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1669, allocations: 3.938 kB / 0.6985 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.167, allocations: 11.98 kB / 0.6985 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.167, allocations: 0 / 0.6985 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008198/0.1678, allocations: 119.9 kB / 0.6987 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1691, allocations: 0.6681 MB / 0.6993 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1702, allocations: 186.5 kB / 0.6995 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/0.171, allocations: 112.8 kB / 0.6996 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.171, allocations: 4 kB / 0.6996 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009954/0.172, allocations: 227.2 kB / 0.6998 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.172, allocations: 0 / 0.6998 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002693/0.1747, allocations: 0.492 MB / 0.7003 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.1748, allocations: 71.33 kB / 0.7004 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005033/0.1753, allocations: 437.9 kB / 0.7008 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/0.1754, allocations: 37.7 kB / 0.7008 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.1755, allocations: 101.4 kB / 0.7009 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.1755, allocations: 47.67 kB / 0.701 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.1758, allocations: 141.5 kB / 0.7011 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1759, allocations: 322.8 kB / 0.7014 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.1763, allocations: 135.9 kB / 0.7015 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.1766, allocations: 191.5 kB / 0.7017 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.177, allocations: 302.8 kB / 0.702 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1771, allocations: 0 / 0.702 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009265/0.178, allocations: 0.5214 MB / 0.7025 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.75e-05/0.1781, allocations: 99.31 kB / 0.7026 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1781, allocations: 3.938 kB / 0.7026 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1781, allocations: 7.938 kB / 0.7026 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1783, allocations: 19.98 kB / 0.7026 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.1783, allocations: 7.938 kB / 0.7026 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.1788, allocations: 68 kB / 0.7027 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/0.1789, allocations: 63.91 kB / 0.7028 GB, free: 3.68 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.0002751/0.1792, allocations: 208.4 kB / 0.703 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.1793, allocations: 35.77 kB / 0.703 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/0.1794, allocations: 47.77 kB / 0.703 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1794, allocations: 4 kB / 0.703 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1794, allocations: 0 / 0.703 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1794, allocations: 0 / 0.703 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.1818, allocations: 0.7912 MB / 0.7038 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1818, allocations: 0 / 0.7038 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.1818, allocations: 4 kB / 0.7038 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1818, allocations: 0 / 0.7038 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.1819, allocations: 31.84 kB / 0.7039 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1819, allocations: 4 kB / 0.7039 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1819, allocations: 0 / 0.7039 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.1837, allocations: 485 kB / 0.7043 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.1841, allocations: 244.7 kB / 0.7046 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.1842, allocations: 27.86 kB / 0.7046 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.1847, allocations: 27.97 kB / 0.7046 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1848, allocations: 11.98 kB / 0.7046 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-05/0.1848, allocations: 59.97 kB / 0.7047 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000375/0.1852, allocations: 315.1 kB / 0.705 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1852, allocations: 4 kB / 0.705 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004343/0.1857, allocations: 71.98 kB / 0.7051 GB, free: 1.238 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.002256/0.1879, allocations: 1.026 MB / 0.7061 GB, free: 188 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.1896, allocations: 482.4 kB / 0.7065 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1896, allocations: 384 / 0.7065 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008267/0.1904, allocations: 123.9 kB / 0.7066 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.1909, allocations: 44.02 kB / 0.7067 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.1964, allocations: 3.02 MB / 0.7096 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.1971, allocations: 0.7903 MB / 0.7104 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.1973, allocations: 9.438 kB / 0.7104 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.645e-05/0.1973, allocations: 27.42 kB / 0.7104 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/0.1974, allocations: 4 kB / 0.7104 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.2294, allocations: 6.713 MB / 0.717 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.341, allocations: 9.812 kB / 0.717 GB, free: 4.848 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.054324828088284] Failed to read output from testmodel.py, exit status != 0: 8.688342487905174 8.427226845 8.260578129 Calling exit ...