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.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.001859/0.001859, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.00238/0.00238, allocations: 222.2 kB / 23 MB, free: 4.969 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9866/0.9866, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.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.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",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.002073/0.002073, allocations: 66.17 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1674, allocations: 89.18 MB / 0.7282 GB, free: 0.957 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002373/0.1698, allocations: 0.9853 MB / 0.7292 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1713, allocations: 1.018 MB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.305e-05/0.1714, allocations: 8 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.1715, allocations: 19.73 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.641e-05/0.1716, allocations: 23.73 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1719, allocations: 71.86 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1721, allocations: 184 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.1723, allocations: 68.61 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1724, allocations: 67.77 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1725, allocations: 71.61 kB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.1725, allocations: 20 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.937e-05/0.1726, allocations: 20 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.1726, allocations: 43.83 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.1727, allocations: 55.73 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1729, allocations: 191.1 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1729, allocations: 3.984 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1729, allocations: 4 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.173, allocations: 0 / 0.731 GB, free: 14.1 MB / 0.5606 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.0008345/0.1738, allocations: 422.4 kB / 0.7314 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1738, allocations: 12.03 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.1739, allocations: 54.67 kB / 0.7314 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.174, allocations: 20.8 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1743, allocations: 164.1 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.1743, allocations: 16.38 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.1744, allocations: 12.38 kB / 0.7317 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.1747, allocations: 184.3 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1748, allocations: 4 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.1748, allocations: 7.938 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1748, allocations: 4 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.1751, allocations: 108.5 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.1762, allocations: 479.2 kB / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.1766, allocations: 138.7 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.1768, allocations: 76.81 kB / 0.7326 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1768, allocations: 4 kB / 0.7326 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.1771, allocations: 148.9 kB / 0.7328 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.1771, allocations: 0 / 0.7328 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.000581/0.1777, allocations: 230.8 kB / 0.733 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1777, allocations: 55.41 kB / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1779, allocations: 158.4 kB / 0.7332 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.1779, allocations: 33.7 kB / 0.7332 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.178, allocations: 120.5 kB / 0.7333 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/0.1781, allocations: 63.42 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.1782, allocations: 41.7 kB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1783, allocations: 330.8 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.1786, allocations: 71.91 kB / 0.7338 GB, free: 11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.1788, allocations: 93.66 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.1791, allocations: 143.2 kB / 0.734 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1791, allocations: 0 / 0.734 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005069/0.1797, allocations: 219.1 kB / 0.7342 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1797, allocations: 6.031 kB / 0.7343 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1797, allocations: 0 / 0.7343 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1797, allocations: 4 kB / 0.7343 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.1799, allocations: 35.97 kB / 0.7343 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1799, allocations: 4 kB / 0.7343 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.18, allocations: 23.88 kB / 0.7343 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.1801, allocations: 4 kB / 0.7343 GB, free: 10.47 MB / 0.5606 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.0001284/0.1802, allocations: 141.7 kB / 0.7345 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1802, allocations: 19.84 kB / 0.7345 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.1806, allocations: 192.7 kB / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.1806, allocations: 4 kB / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1807, allocations: 0 / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1807, allocations: 0 / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008825/0.1815, allocations: 0.5443 MB / 0.7352 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1815, allocations: 0 / 0.7352 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1817, allocations: 35.98 kB / 0.7352 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1817, allocations: 3.938 kB / 0.7352 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.1817, allocations: 8 kB / 0.7352 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.438e-05/0.1818, allocations: 11.92 kB / 0.7353 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1818, allocations: 4.188 kB / 0.7353 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.1824, allocations: 372.5 kB / 0.7356 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.1825, allocations: 19.78 kB / 0.7356 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.1825, allocations: 8 kB / 0.7356 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1827, allocations: 27.95 kB / 0.7357 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.1827, allocations: 15.97 kB / 0.7357 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.1827, allocations: 8 kB / 0.7357 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.863e-05/0.1828, allocations: 123.2 kB / 0.7358 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1828, allocations: 0 / 0.7358 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002887/0.1831, allocations: 31.95 kB / 0.7358 GB, free: 8.797 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.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.0009458/0.1841, allocations: 0.9183 MB / 0.7367 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004508/0.1845, allocations: 161.7 kB / 0.7369 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1845, allocations: 4 kB / 0.7369 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.1847, allocations: 75.84 kB / 0.737 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1851, allocations: 35.86 kB / 0.737 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.188, allocations: 2.124 MB / 0.7391 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.1881, allocations: 116.2 kB / 0.7392 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.453e-05/0.1882, allocations: 17.61 kB / 0.7392 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1883, allocations: 59.39 kB / 0.7393 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.1883, allocations: 8 kB / 0.7393 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.2218, allocations: 4.246 MB / 0.7434 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.45, allocations: 6.562 kB / 0.7434 GB, free: 1.004 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.263015021104366] Failed to read output from testmodel.py, exit status != 0: 11.570708442945033 11.597479507 11.419673608 Calling exit ...