Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.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.001322/0.001322, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001361/0.001361, allocations: 207.8 kB / 23.03 MB, free: 4.883 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.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.8964/0.8964, allocations: 150 MB / 463.2 MB, free: 10.21 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.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",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.001912/0.001912, allocations: 65.97 kB / 0.6413 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.172, allocations: 89.17 MB / 0.7284 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002021/0.174, allocations: 0.6856 MB / 0.7291 GB, free: 76 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1752, allocations: 0.8938 MB / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.1752, allocations: 0 / 0.7299 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.1752, allocations: 3.984 kB / 0.7299 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-05/0.1753, allocations: 11.88 kB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.1754, allocations: 11.98 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.183e-05/0.1755, allocations: 47.86 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.1756, allocations: 15.97 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.1757, allocations: 15.92 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.1757, allocations: 19.86 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1757, allocations: 4 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.1757, allocations: 8 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.1758, allocations: 8 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.1758, allocations: 11.92 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.983e-05/0.1759, allocations: 48.08 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1759, allocations: 0 / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1759, allocations: 0 / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.1759, allocations: 0 / 0.7301 GB, free: 14.96 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005017/0.1764, allocations: 286.2 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1764, allocations: 11.97 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.1765, allocations: 42.73 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.072e-05/0.1765, allocations: 0.9375 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.947e-05/0.1766, allocations: 114.4 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1766, allocations: 4.375 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1766, allocations: 4.375 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.1769, allocations: 66.16 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1769, allocations: 3.938 kB / 0.7306 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1769, allocations: 4 kB / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1769, allocations: 3.938 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.1772, allocations: 67.92 kB / 0.7307 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.1775, allocations: 232 kB / 0.7309 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.1777, allocations: 54.48 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.1778, allocations: 44.91 kB / 0.731 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1779, allocations: 0 / 0.731 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1779, allocations: 30.56 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1779, allocations: 0 / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005312/0.1784, allocations: 133.5 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1785, allocations: 51.41 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.15e-05/0.1785, allocations: 113.8 kB / 0.7313 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1786, allocations: 25.7 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.1786, allocations: 88.14 kB / 0.7315 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1786, allocations: 3.953 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.1787, allocations: 17.72 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1788, allocations: 318.8 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1789, allocations: 31.97 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1791, allocations: 35.95 kB / 0.7318 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.1794, allocations: 73 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1794, allocations: 0 / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003121/0.1797, allocations: 101.6 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1797, allocations: 8 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1797, allocations: 0 / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1797, allocations: 0 / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1798, allocations: 23.92 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1798, allocations: 0 / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.982e-05/0.1799, allocations: 15.98 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1799, allocations: 7.922 kB / 0.7321 GB, free: 12.79 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: 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.016e-05/0.18, allocations: 113.8 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.18, allocations: 7.953 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.18, allocations: 12 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.18, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1801, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1801, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.1802, allocations: 136.7 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1802, allocations: 0 / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.664e-05/0.1803, allocations: 19.97 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1803, allocations: 0 / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1803, allocations: 0 / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1803, allocations: 0 / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1803, allocations: 4 kB / 0.7323 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.1807, allocations: 195.4 kB / 0.7325 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.1807, allocations: 15.81 kB / 0.7325 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.1807, allocations: 4 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1808, allocations: 11.98 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.1808, allocations: 4 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1809, allocations: 7.984 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.21e-05/0.1809, allocations: 83.28 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1809, allocations: 0 / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002084/0.1811, allocations: 8 kB / 0.7327 GB, free: 12.1 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: 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.0006713/0.1818, allocations: 0.7202 MB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.1821, allocations: 75.86 kB / 0.7334 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1821, allocations: 0 / 0.7334 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1823, allocations: 35.95 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1825, allocations: 10.03 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.183, allocations: 159.1 kB / 0.7336 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.434e-05/0.183, allocations: 67.34 kB / 0.7337 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.1831, allocations: 4 kB / 0.7337 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.1831, allocations: 11.44 kB / 0.7337 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1831, allocations: 3.938 kB / 0.7337 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.2093, allocations: 2.255 MB / 0.7359 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.21, allocations: 8.203 kB / 0.7359 GB, free: 8.832 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo_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_Reals_Validation_Modulo.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.666753985919058] Failed to read output from testmodel.py, exit status != 0: 10.310157309984788 10.32409161 10.145337384 Calling exit ...