Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001348/0.001348, allocations: 116.3 kB / 17.84 MB, free: 5.312 MB / 14.72 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.001497/0.001497, allocations: 203.2 kB / 20.8 MB, free: 2.371 MB / 14.72 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 1.522/1.522, allocations: 230.6 MB / 254.2 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9937/0.9937, allocations: 150 MB / 460.2 MB, free: 5.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 73.98 kB / 0.6369 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1653, allocations: 89.13 MB / 0.7239 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001979/0.1673, allocations: 0.7269 MB / 0.7246 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002304/0.1676, allocations: 55.83 kB / 0.7247 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.1676, allocations: 7.938 kB / 0.7247 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.1678, allocations: 11.86 kB / 0.7247 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.774e-05/0.1678, allocations: 15.92 kB / 0.7247 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.168, allocations: 27.95 kB / 0.7247 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1682, allocations: 127.6 kB / 0.7248 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.1684, allocations: 132.5 kB / 0.725 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.1685, allocations: 75.77 kB / 0.725 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.195e-05/0.1686, allocations: 71.64 kB / 0.7251 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.1686, allocations: 12 kB / 0.7251 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.831e-05/0.1687, allocations: 16 kB / 0.7251 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.1687, allocations: 47.86 kB / 0.7252 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1688, allocations: 87.42 kB / 0.7253 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1691, allocations: 239.6 kB / 0.7255 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1691, allocations: 4 kB / 0.7255 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1691, allocations: 0 / 0.7255 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.1691, allocations: 3.938 kB / 0.7255 GB, free: 2.316 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006312/0.1698, allocations: 0.4948 MB / 0.726 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1698, allocations: 12.03 kB / 0.726 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.939e-05/0.1698, allocations: 4.562 kB / 0.726 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.849e-05/0.1699, allocations: 54.73 kB / 0.7261 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.1699, allocations: 32.75 kB / 0.7261 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1702, allocations: 256.5 kB / 0.7263 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1702, allocations: 12.75 kB / 0.7263 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.1703, allocations: 20.38 kB / 0.7264 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.1708, allocations: 344.5 kB / 0.7267 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1708, allocations: 0 / 0.7267 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.1708, allocations: 4 kB / 0.7267 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.1708, allocations: 19.98 kB / 0.7267 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.1712, allocations: 259.8 kB / 0.727 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1725, allocations: 1.088 MB / 0.728 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.589e-05/0.1726, allocations: 173.1 kB / 0.7282 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.1726, allocations: 88.14 kB / 0.7283 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.1726, allocations: 79.22 kB / 0.7283 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.1727, allocations: 113.9 kB / 0.7285 GB, free: 15.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.1727, allocations: 0 / 0.7285 GB, free: 15.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001194/0.1728, allocations: 49.56 kB / 0.7285 GB, free: 15.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.1729, allocations: 130.7 kB / 0.7286 GB, free: 14.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.1735, allocations: 0.4926 MB / 0.7291 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1735, allocations: 25.7 kB / 0.7291 GB, free: 14.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1736, allocations: 171.9 kB / 0.7293 GB, free: 14.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.1736, allocations: 0 / 0.7293 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.1737, allocations: 29.7 kB / 0.7293 GB, free: 14.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1739, allocations: 342.8 kB / 0.7297 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.1739, allocations: 47.95 kB / 0.7297 GB, free: 13.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.174, allocations: 101.9 kB / 0.7298 GB, free: 13.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1742, allocations: 109.9 kB / 0.7299 GB, free: 13.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1742, allocations: 0 / 0.7299 GB, free: 13.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003118/0.1745, allocations: 185.3 kB / 0.7301 GB, free: 13.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1745, allocations: 13.66 kB / 0.7301 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.1745, allocations: 0 / 0.7301 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1745, allocations: 4.219 kB / 0.7301 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1746, allocations: 23.98 kB / 0.7301 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1746, allocations: 0 / 0.7301 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1748, allocations: 43.72 kB / 0.7302 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1748, allocations: 4 kB / 0.7302 GB, free: 13.24 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 0.0001907/0.175, allocations: 249 kB / 0.7304 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.1751, allocations: 130.7 kB / 0.7305 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.805e-05/0.1752, allocations: 134.8 kB / 0.7307 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.081e-05/0.1753, allocations: 192.2 kB / 0.7308 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-05/0.1753, allocations: 180.3 kB / 0.731 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.164e-05/0.1754, allocations: 180.2 kB / 0.7312 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.1758, allocations: 489.1 kB / 0.7316 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.404e-05/0.1758, allocations: 101 kB / 0.7317 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.1759, allocations: 108.9 kB / 0.7318 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-05/0.176, allocations: 192.2 kB / 0.732 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.583e-05/0.1761, allocations: 184.2 kB / 0.7322 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.021e-05/0.1761, allocations: 176.3 kB / 0.7324 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.118e-05/0.1762, allocations: 176.3 kB / 0.7325 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.1764, allocations: 339.5 kB / 0.7329 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.1766, allocations: 221.8 kB / 0.7331 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.1767, allocations: 180.5 kB / 0.7332 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1768, allocations: 109 kB / 0.7334 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.1769, allocations: 184.2 kB / 0.7335 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.1769, allocations: 105 kB / 0.7336 GB, free: 9.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004115/0.1773, allocations: 367 kB / 0.734 GB, free: 9.109 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1773, allocations: 0 / 0.734 GB, free: 9.109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002934/0.1776, allocations: 24 kB / 0.734 GB, free: 9.086 MB / 0.545 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 (0): * Single equations (assignments): 0 * 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.0005332/0.1782, allocations: 0.832 MB / 0.7348 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.1783, allocations: 67.89 kB / 0.7349 GB, free: 8.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1783, allocations: 0 / 0.7349 GB, free: 8.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1783, allocations: 0 / 0.7349 GB, free: 8.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.179, allocations: 484.7 kB / 0.7353 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.1826, allocations: 3.286 MB / 0.7386 GB, free: 4.273 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.1831, allocations: 0.7749 MB / 0.7393 GB, free: 3.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.89e-05/0.1832, allocations: 53.52 kB / 0.7394 GB, free: 3.422 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1833, allocations: 59.42 kB / 0.7394 GB, free: 3.363 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.1833, allocations: 3.938 kB / 0.7394 GB, free: 3.359 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.2065, allocations: 4.618 MB / 0.7439 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.691/8.898, allocations: 13.28 kB / 0.7439 GB, free: 14.87 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.98505063902121] Failed to read output from testmodel.py, exit status != 0: 9.02273366699228 9.039892384 8.867744942 Calling exit ...