Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001298/0.001298, allocations: 97.17 kB / 19.74 MB, free: 1.871 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.001394/0.001394, allocations: 203.3 kB / 23.04 MB, free: 5.008 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 7.742 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.9131/0.9131, allocations: 150 MB / 463.2 MB, free: 10.23 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.Conversions.Validation.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Conversions_Validation_RealToInteger",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.002272/0.002272, allocations: 62.41 kB / 0.6413 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1743, allocations: 89.17 MB / 0.7283 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002068/0.1763, allocations: 0.6031 MB / 0.7289 GB, free: 188 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1774, allocations: 0.8393 MB / 0.7297 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.1775, allocations: 0 / 0.7297 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.1775, allocations: 3.938 kB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.1776, allocations: 7.922 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.1777, allocations: 23.92 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.291e-05/0.1778, allocations: 27.92 kB / 0.7298 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.1779, allocations: 0 / 0.7298 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.499e-05/0.1779, allocations: 15.92 kB / 0.7298 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.197e-05/0.178, allocations: 11.97 kB / 0.7298 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.178, allocations: 4 kB / 0.7298 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-06/0.178, allocations: 0 / 0.7298 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.178, allocations: 11.94 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.1781, allocations: 4 kB / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.941e-05/0.1782, allocations: 28.17 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1782, allocations: 0 / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.552e-06/0.1782, allocations: 4 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.1782, allocations: 0 / 0.7299 GB, free: 15.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004618/0.1786, allocations: 262.3 kB / 0.7301 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1787, allocations: 12.03 kB / 0.7301 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.1787, allocations: 30.75 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.1787, allocations: 0.9375 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1789, allocations: 114.5 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.1789, allocations: 4.312 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.1789, allocations: 384 / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1791, allocations: 58.22 kB / 0.7303 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1791, allocations: 7.938 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1791, allocations: 0 / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1791, allocations: 0 / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.1793, allocations: 31.97 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.1796, allocations: 216 kB / 0.7306 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1797, allocations: 50.47 kB / 0.7306 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.1798, allocations: 24.91 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.1798, allocations: 3.938 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1799, allocations: 38.55 kB / 0.7307 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1799, allocations: 0 / 0.7307 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003597/0.1802, allocations: 81.64 kB / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1803, allocations: 55.34 kB / 0.7308 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.1804, allocations: 97.86 kB / 0.7309 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1804, allocations: 29.83 kB / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.1804, allocations: 92.12 kB / 0.731 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.1804, allocations: 3.953 kB / 0.731 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1805, allocations: 13.72 kB / 0.7311 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.1806, allocations: 314.8 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/0.1807, allocations: 19.97 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.497e-05/0.1808, allocations: 15.98 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.1809, allocations: 48.81 kB / 0.7314 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1809, allocations: 3.938 kB / 0.7314 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002032/0.1811, allocations: 65.66 kB / 0.7315 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1812, allocations: 9.812 kB / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1812, allocations: 4 kB / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1812, allocations: 0 / 0.7315 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1813, allocations: 15.98 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1813, allocations: 4.031 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.1813, allocations: 4 kB / 0.7315 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.1813, allocations: 7.984 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * 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.546e-05/0.1814, allocations: 109.8 kB / 0.7317 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1814, allocations: 8.125 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.1815, allocations: 11.31 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1815, allocations: 3.984 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1815, allocations: 0 / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1815, allocations: 0 / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.1816, allocations: 128.7 kB / 0.7318 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1816, allocations: 4 kB / 0.7318 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/0.1817, allocations: 11.98 kB / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1817, allocations: 0 / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1817, allocations: 0 / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1817, allocations: 0 / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1817, allocations: 0 / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.182, allocations: 175.3 kB / 0.732 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.182, allocations: 7.938 kB / 0.732 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.182, allocations: 4.031 kB / 0.732 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.1821, allocations: 7.984 kB / 0.732 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.1821, allocations: 7.984 kB / 0.732 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1821, allocations: 4 kB / 0.732 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.1822, allocations: 79.28 kB / 0.7321 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1822, allocations: 0 / 0.7321 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002043/0.1824, allocations: 4 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * 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.0005729/0.183, allocations: 0.7046 MB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.1832, allocations: 39.91 kB / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1832, allocations: 0 / 0.7328 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.109e-05/0.1833, allocations: 19.97 kB / 0.7328 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.1836, allocations: 8 kB / 0.7328 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.184, allocations: 143.3 kB / 0.733 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.483e-05/0.1841, allocations: 63.3 kB / 0.733 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.1841, allocations: 4 kB / 0.733 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.1841, allocations: 15.42 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.1841, allocations: 0 / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.2123, allocations: 1.982 MB / 0.735 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.89, allocations: 2 kB / 0.735 GB, free: 9.746 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger_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_Conversions_Validation_RealToInteger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.510761501966044] Failed to read output from testmodel.py, exit status != 0: 10.995100134983659 11.010933573 10.829851631 Calling exit ...