Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.001604/0.001604, allocations: 117.4 kB / 17.76 MB, free: 5.293 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.001346/0.001346, allocations: 188.5 kB / 20.69 MB, free: 2.363 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.438/1.438, allocations: 222.9 MB / 246.4 MB, free: 4.312 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.076/1.076, allocations: 147.6 MB / 446.2 MB, free: 8.285 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.78 kB / 0.6121 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1411, allocations: 83.17 MB / 0.6933 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002215/0.1434, allocations: 1.047 MB / 0.6943 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1448, allocations: 0.9912 MB / 0.6953 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1449, allocations: 3.219 kB / 0.6953 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.145, allocations: 23.73 kB / 0.6953 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.1451, allocations: 22.67 kB / 0.6954 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1453, allocations: 70.41 kB / 0.6954 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.1455, allocations: 175.2 kB / 0.6956 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.1457, allocations: 81.7 kB / 0.6957 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.1458, allocations: 71.09 kB / 0.6957 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1459, allocations: 84.09 kB / 0.6958 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.146, allocations: 16.5 kB / 0.6958 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.385e-05/0.146, allocations: 15.12 kB / 0.6958 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.1461, allocations: 41.34 kB / 0.6959 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.187e-05/0.1462, allocations: 72.09 kB / 0.696 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1464, allocations: 192.1 kB / 0.6961 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1464, allocations: 0 / 0.6961 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1464, allocations: 0 / 0.6961 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1464, allocations: 0 / 0.6961 GB, free: 10.86 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008253/0.1473, allocations: 483.3 kB / 0.6966 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.1473, allocations: 13.56 kB / 0.6966 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.1473, allocations: 18.47 kB / 0.6966 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1477, allocations: 226.5 kB / 0.6968 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.1477, allocations: 11.25 kB / 0.6969 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.1477, allocations: 27.36 kB / 0.6969 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.1481, allocations: 146 kB / 0.697 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1481, allocations: 1.344 kB / 0.697 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.1481, allocations: 5.344 kB / 0.697 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1481, allocations: 4 kB / 0.697 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.1484, allocations: 113 kB / 0.6971 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.1495, allocations: 0.531 MB / 0.6977 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.1499, allocations: 140.9 kB / 0.6978 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.1501, allocations: 86.62 kB / 0.6979 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.1502, allocations: 7.016 kB / 0.6979 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.1504, allocations: 120.6 kB / 0.698 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/0.1505, allocations: 0 / 0.698 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.0006106/0.1511, allocations: 223.5 kB / 0.6982 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1511, allocations: 53.16 kB / 0.6983 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1513, allocations: 166.9 kB / 0.6984 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.1513, allocations: 40.38 kB / 0.6985 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.1514, allocations: 111.3 kB / 0.6986 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.1515, allocations: 66.34 kB / 0.6986 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.1516, allocations: 43.36 kB / 0.6987 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1517, allocations: 330.9 kB / 0.699 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.1519, allocations: 66.28 kB / 0.699 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.1522, allocations: 94.56 kB / 0.6991 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.1525, allocations: 146.1 kB / 0.6993 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1526, allocations: 0 / 0.6993 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005127/0.1531, allocations: 217.4 kB / 0.6995 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1531, allocations: 8 kB / 0.6995 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1531, allocations: 0 / 0.6995 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1531, allocations: 0 / 0.6995 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.1533, allocations: 47.94 kB / 0.6995 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1534, allocations: 0 / 0.6995 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.1535, allocations: 27.88 kB / 0.6996 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.1535, allocations: 8 kB / 0.6996 GB, free: 7.812 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001278/0.1537, allocations: 133.8 kB / 0.6997 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.1537, allocations: 19.84 kB / 0.6997 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.1542, allocations: 204.5 kB / 0.6999 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.1542, allocations: 4 kB / 0.6999 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1542, allocations: 0 / 0.6999 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1542, allocations: 0 / 0.6999 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.1551, allocations: 0.574 MB / 0.7005 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1551, allocations: 4 kB / 0.7005 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1553, allocations: 39.91 kB / 0.7005 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1553, allocations: 3.938 kB / 0.7005 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.1553, allocations: 8 kB / 0.7005 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1553, allocations: 4 kB / 0.7005 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1553, allocations: 192 / 0.7005 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.156, allocations: 400 kB / 0.7009 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.1561, allocations: 104.9 kB / 0.701 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1561, allocations: 0 / 0.701 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1563, allocations: 20.03 kB / 0.701 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.1563, allocations: 19.97 kB / 0.7011 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.1564, allocations: 11.92 kB / 0.7011 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.973e-05/0.1565, allocations: 122.5 kB / 0.7012 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1565, allocations: 0 / 0.7012 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000283/0.1568, allocations: 32 kB / 0.7012 GB, free: 5.996 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001606/0.1569, allocations: 111.2 kB / 0.7013 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004558/0.1574, allocations: 159.8 kB / 0.7015 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1574, allocations: 4.062 kB / 0.7015 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.1576, allocations: 91.83 kB / 0.7016 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1579, allocations: 19.94 kB / 0.7016 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006785/0.1586, allocations: 412.3 kB / 0.702 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.159, allocations: 0.7281 MB / 0.7027 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.1591, allocations: 19.44 kB / 0.7027 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.1591, allocations: 0 / 0.7027 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of Templates: time 0.00393/0.163, allocations: 1.968 MB / 0.7046 GB, free: 2.41 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.981262417044491] Failed to read output from testmodel.py, exit status != 0: 0.4290389830712229 0.183666458 0.034556642000000005 Calling exit ...