Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.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.001389/0.001389, allocations: 105.1 kB / 17.07 MB, free: 5.965 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.001435/0.001435, allocations: 194.7 kB / 20.03 MB, free: 3.035 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.467/1.467, allocations: 222.9 MB / 245.7 MB, free: 4.195 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.116/1.116, allocations: 147.6 MB / 445.6 MB, free: 8.395 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.Validation.Log,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 65.05 kB / 0.6109 GB, free: 37.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1568, allocations: 83.16 MB / 0.6922 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Log): time 0.0019/0.1587, allocations: 0.6503 MB / 0.6928 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1598, allocations: 0.7957 MB / 0.6936 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.1599, allocations: 1.438 kB / 0.6936 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.1599, allocations: 3.938 kB / 0.6936 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.16, allocations: 0 / 0.6936 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.1601, allocations: 18.62 kB / 0.6936 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.1602, allocations: 24.38 kB / 0.6936 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1603, allocations: 6.953 kB / 0.6936 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/0.1604, allocations: 7.812 kB / 0.6936 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.801e-05/0.1605, allocations: 15.45 kB / 0.6936 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1605, allocations: 1.688 kB / 0.6936 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.1605, allocations: 1.438 kB / 0.6936 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.1605, allocations: 5.719 kB / 0.6936 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.1605, allocations: 9.688 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.679e-05/0.1606, allocations: 23.48 kB / 0.6937 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.1606, allocations: 5.328 kB / 0.6937 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1606, allocations: 0 / 0.6937 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1607, allocations: 0 / 0.6937 GB, free: 12.06 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004659/0.1611, allocations: 347.7 kB / 0.694 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1612, allocations: 14.62 kB / 0.694 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.1612, allocations: 34.75 kB / 0.6941 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.1612, allocations: 6.547 kB / 0.6941 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.1614, allocations: 162.2 kB / 0.6942 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.1614, allocations: 384 / 0.6942 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.1614, allocations: 2.344 kB / 0.6942 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1616, allocations: 53.03 kB / 0.6943 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1616, allocations: 3.938 kB / 0.6943 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1617, allocations: 4 kB / 0.6943 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1617, allocations: 1.781 kB / 0.6943 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.1618, allocations: 37.8 kB / 0.6943 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.1622, allocations: 242 kB / 0.6946 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1623, allocations: 38.03 kB / 0.6946 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.401e-05/0.1624, allocations: 31.27 kB / 0.6946 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.1624, allocations: 0 / 0.6946 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1625, allocations: 31.84 kB / 0.6947 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1625, allocations: 0 / 0.6947 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003509/0.1628, allocations: 90.66 kB / 0.6947 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.1629, allocations: 55.41 kB / 0.6948 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.163, allocations: 96.73 kB / 0.6949 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.163, allocations: 28.45 kB / 0.6949 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.1631, allocations: 84.12 kB / 0.695 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.1631, allocations: 3.953 kB / 0.695 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.1631, allocations: 16.91 kB / 0.695 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1633, allocations: 310.8 kB / 0.6953 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.1633, allocations: 16.95 kB / 0.6953 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.1634, allocations: 21.72 kB / 0.6953 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1636, allocations: 39.58 kB / 0.6954 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1636, allocations: 3.938 kB / 0.6954 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001939/0.1638, allocations: 69.09 kB / 0.6955 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1638, allocations: 5.5 kB / 0.6955 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1638, allocations: 0 / 0.6955 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1638, allocations: 0 / 0.6955 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.1639, allocations: 10.86 kB / 0.6955 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1639, allocations: 0 / 0.6955 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.164, allocations: 8.062 kB / 0.6955 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.164, allocations: 0 / 0.6955 GB, free: 10.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.342e-05/0.1641, allocations: 120.6 kB / 0.6956 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1641, allocations: 5.359 kB / 0.6956 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.1644, allocations: 69.34 kB / 0.6957 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1644, allocations: 1.375 kB / 0.6957 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1644, allocations: 0 / 0.6957 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1644, allocations: 3.938 kB / 0.6957 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.1646, allocations: 163 kB / 0.6958 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1646, allocations: 0 / 0.6958 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.24e-05/0.1646, allocations: 17.52 kB / 0.6958 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1646, allocations: 1.375 kB / 0.6958 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1647, allocations: 0 / 0.6958 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1647, allocations: 4 kB / 0.6958 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1647, allocations: 1.375 kB / 0.6958 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1649, allocations: 166.7 kB / 0.696 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.165, allocations: 81.14 kB / 0.6961 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.165, allocations: 1.375 kB / 0.6961 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.1651, allocations: 12.11 kB / 0.6961 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.1651, allocations: 1.375 kB / 0.6961 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1651, allocations: 0 / 0.6961 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.1652, allocations: 83.58 kB / 0.6962 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1652, allocations: 0 / 0.6962 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000208/0.1654, allocations: 2.75 kB / 0.6962 GB, free: 9.461 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006702/0.1661, allocations: 0.6939 MB / 0.6969 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1663, allocations: 41.42 kB / 0.6969 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1663, allocations: 4.094 kB / 0.6969 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.622e-05/0.1664, allocations: 19.2 kB / 0.6969 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.1667, allocations: 5.219 kB / 0.6969 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.1671, allocations: 129 kB / 0.697 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1674, allocations: 0.6759 MB / 0.6977 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.1675, allocations: 0.8438 kB / 0.6977 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.1675, allocations: 13.41 kB / 0.6977 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.1675, allocations: 0 / 0.6977 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.1884, allocations: 1.263 MB / 0.699 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/7.957, allocations: 6.844 kB / 0.699 GB, free: 7.148 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Log.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.912001974880695] Failed to read output from testmodel.py, exit status != 0: 8.306682999944314 8.051696476 7.887342753 Calling exit ...