Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.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.001251/0.001251, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001438/0.001438, allocations: 162.7 kB / 23.76 MB, free: 4.195 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.436/1.436, allocations: 177.2 MB / 204.1 MB, free: 9.008 MB / 190.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.9478/0.9478, allocations: 113.9 MB / 374.5 MB, free: 12.88 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract") [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.002354/0.002354, allocations: 64.77 kB / 0.5551 GB, free: 2.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1665, allocations: 89.14 MB / 0.6421 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002045/0.1686, allocations: 0.6792 MB / 0.6428 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1697, allocations: 0.8319 MB / 0.6436 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.1697, allocations: 0 / 0.6436 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.1698, allocations: 0 / 0.6436 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.1698, allocations: 7.875 kB / 0.6436 GB, free: 8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.731e-05/0.1699, allocations: 15.98 kB / 0.6436 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.17, allocations: 43.91 kB / 0.6437 GB, free: 7.941 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1701, allocations: 8 kB / 0.6437 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.567e-05/0.1701, allocations: 15.92 kB / 0.6437 GB, free: 7.918 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.1702, allocations: 19.92 kB / 0.6437 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1702, allocations: 4 kB / 0.6437 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.1702, allocations: 4 kB / 0.6437 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.1702, allocations: 7.984 kB / 0.6437 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.1703, allocations: 11.94 kB / 0.6437 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.1704, allocations: 51.73 kB / 0.6438 GB, free: 7.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1704, allocations: 0 / 0.6438 GB, free: 7.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1704, allocations: 3.938 kB / 0.6438 GB, free: 7.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.1704, allocations: 7.984 kB / 0.6438 GB, free: 7.809 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005212/0.1709, allocations: 288.1 kB / 0.6441 GB, free: 7.496 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1709, allocations: 15.97 kB / 0.6441 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.171, allocations: 0.9375 kB / 0.6441 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1711, allocations: 114.4 kB / 0.6442 GB, free: 7.344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1711, allocations: 4.375 kB / 0.6442 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.1711, allocations: 4.375 kB / 0.6442 GB, free: 7.336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.1714, allocations: 74.2 kB / 0.6443 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1714, allocations: 192 / 0.6443 GB, free: 7.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1714, allocations: 3.938 kB / 0.6443 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1714, allocations: 0 / 0.6443 GB, free: 7.254 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.1717, allocations: 67.86 kB / 0.6444 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.172, allocations: 204.6 kB / 0.6446 GB, free: 6.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.1723, allocations: 50.55 kB / 0.6446 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.1724, allocations: 48.84 kB / 0.6446 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.1724, allocations: 0 / 0.6446 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1725, allocations: 34.56 kB / 0.6447 GB, free: 6.805 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1725, allocations: 0 / 0.6447 GB, free: 6.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005686/0.173, allocations: 137.5 kB / 0.6448 GB, free: 6.664 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.1731, allocations: 51.41 kB / 0.6449 GB, free: 6.602 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1732, allocations: 113.8 kB / 0.645 GB, free: 6.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1732, allocations: 25.7 kB / 0.645 GB, free: 6.449 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.1733, allocations: 84.14 kB / 0.6451 GB, free: 6.363 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.1733, allocations: 15.94 kB / 0.6451 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.1733, allocations: 13.7 kB / 0.6451 GB, free: 6.328 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1735, allocations: 322.8 kB / 0.6454 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1736, allocations: 27.97 kB / 0.6454 GB, free: 5.977 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.1738, allocations: 31.95 kB / 0.6455 GB, free: 5.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.1741, allocations: 72.72 kB / 0.6455 GB, free: 5.871 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1741, allocations: 0 / 0.6455 GB, free: 5.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003448/0.1744, allocations: 109.8 kB / 0.6456 GB, free: 5.758 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1744, allocations: 4 kB / 0.6456 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1744, allocations: 4.047 kB / 0.6456 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.1745, allocations: 7.984 kB / 0.6457 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1746, allocations: 11.98 kB / 0.6457 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1746, allocations: 0 / 0.6457 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-05/0.1747, allocations: 15.98 kB / 0.6457 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1747, allocations: 0 / 0.6457 GB, free: 5.715 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.311e-05/0.1748, allocations: 113.8 kB / 0.6458 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.1748, allocations: 11.89 kB / 0.6458 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.1748, allocations: 8 kB / 0.6458 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1748, allocations: 0 / 0.6458 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1748, allocations: 0 / 0.6458 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1748, allocations: 0 / 0.6458 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.175, allocations: 117.2 kB / 0.6459 GB, free: 5.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.175, allocations: 3.938 kB / 0.6459 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1751, allocations: 23.92 kB / 0.6459 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1751, allocations: 4 kB / 0.646 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1751, allocations: 3.984 kB / 0.646 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1751, allocations: 0 / 0.646 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1751, allocations: 0 / 0.646 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.1755, allocations: 183.5 kB / 0.6461 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.1755, allocations: 11.89 kB / 0.6461 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.1755, allocations: 4 kB / 0.6461 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1757, allocations: 19.97 kB / 0.6462 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.1757, allocations: 0 / 0.6462 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1757, allocations: 0 / 0.6462 GB, free: 5.156 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.1757, allocations: 91.27 kB / 0.6463 GB, free: 5.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1757, allocations: 0 / 0.6463 GB, free: 5.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002219/0.176, allocations: 8 kB / 0.6463 GB, free: 5.059 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 (3): * Single equations (assignments): 3 * 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.0001246/0.1761, allocations: 95.19 kB / 0.6464 GB, free: 4.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003474/0.1764, allocations: 71.86 kB / 0.6464 GB, free: 4.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1764, allocations: 0 / 0.6464 GB, free: 4.887 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1766, allocations: 39.95 kB / 0.6465 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1769, allocations: 5.406 kB / 0.6465 GB, free: 4.844 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.1772, allocations: 132.1 kB / 0.6466 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.174e-05/0.1773, allocations: 67.28 kB / 0.6467 GB, free: 4.605 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.1773, allocations: 7.984 kB / 0.6467 GB, free: 4.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.1773, allocations: 12.5 kB / 0.6467 GB, free: 4.586 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.1773, allocations: 0 / 0.6467 GB, free: 4.586 MB / 0.545 GB Notification: Performance of Templates: time 0.003155/0.1805, allocations: 0.7057 MB / 0.6474 GB, free: 3.887 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.424587603076361] Failed to read output from testmodel.py, exit status != 0: 0.18926080293022096 0.205403991 0.031316896000000004 Calling exit ...