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.001697/0.001697, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002324/0.002324, allocations: 227.9 kB / 23.01 MB, free: 5.004 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.957 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.9689/0.9689, allocations: 150 MB / 463.2 MB, free: 10.46 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.001965/0.001965, allocations: 66.92 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1947, allocations: 89.17 MB / 0.7284 GB, free: 1.188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002007/0.1967, allocations: 0.6934 MB / 0.7291 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1979, allocations: 0.8939 MB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.1979, allocations: 4 kB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.198, allocations: 3.938 kB / 0.73 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.198, allocations: 7.922 kB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.1982, allocations: 27.84 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.655e-05/0.1983, allocations: 43.86 kB / 0.73 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.1984, allocations: 7.984 kB / 0.73 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.7e-05/0.1985, allocations: 19.98 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.1985, allocations: 23.86 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1985, allocations: 4 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.1986, allocations: 4 kB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.1986, allocations: 8 kB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.1986, allocations: 19.86 kB / 0.7301 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.1987, allocations: 44.08 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1987, allocations: 3.938 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1987, allocations: 0 / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.1987, allocations: 0 / 0.7302 GB, free: 15.37 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.0006323/0.1994, allocations: 290.2 kB / 0.7304 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1994, allocations: 12.03 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.1995, allocations: 34.73 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.1995, allocations: 0.9375 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1996, allocations: 118.4 kB / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1996, allocations: 4.375 kB / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.1996, allocations: 4.375 kB / 0.7306 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.1999, allocations: 66.22 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1999, allocations: 3.938 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1999, allocations: 8 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1999, allocations: 3.984 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.2002, allocations: 67.86 kB / 0.7307 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.2006, allocations: 236 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.2008, allocations: 54.53 kB / 0.731 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.201, allocations: 36.92 kB / 0.7311 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.201, allocations: 0 / 0.7311 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.201, allocations: 38.5 kB / 0.7311 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.201, allocations: 4 kB / 0.7311 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005391/0.2016, allocations: 133.5 kB / 0.7312 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.2016, allocations: 51.41 kB / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.2017, allocations: 109.8 kB / 0.7314 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2017, allocations: 29.7 kB / 0.7314 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.2018, allocations: 84.14 kB / 0.7315 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.2018, allocations: 15.88 kB / 0.7315 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.2018, allocations: 17.7 kB / 0.7315 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002389/0.2021, allocations: 318.8 kB / 0.7318 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2022, allocations: 27.97 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.2023, allocations: 39.95 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.2026, allocations: 76.66 kB / 0.732 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2026, allocations: 3.938 kB / 0.732 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000323/0.2029, allocations: 101.6 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2029, allocations: 4 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.203, allocations: 0 / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.203, allocations: 0 / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2031, allocations: 15.98 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2031, allocations: 3.984 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.2032, allocations: 11.98 kB / 0.7321 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2032, allocations: 0 / 0.7321 GB, free: 13.19 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.562e-05/0.2033, allocations: 117.8 kB / 0.7322 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.2033, allocations: 7.953 kB / 0.7322 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.2034, allocations: 7.938 kB / 0.7322 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2034, allocations: 0 / 0.7322 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2034, allocations: 0 / 0.7322 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2034, allocations: 4 kB / 0.7322 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.2036, allocations: 144.7 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2036, allocations: 0 / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-05/0.2037, allocations: 11.98 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2037, allocations: 4 kB / 0.7324 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.2037, allocations: 4 kB / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2037, allocations: 0 / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2037, allocations: 0 / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.2041, allocations: 195.7 kB / 0.7326 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.2041, allocations: 15.94 kB / 0.7326 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2041, allocations: 3.984 kB / 0.7326 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2042, allocations: 7.984 kB / 0.7326 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.2043, allocations: 11.98 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.2043, allocations: 0 / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.167e-05/0.2043, allocations: 91.22 kB / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2043, allocations: 0 / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002242/0.2046, allocations: 11.92 kB / 0.7327 GB, free: 12.48 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.0007163/0.2053, allocations: 0.7241 MB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.2056, allocations: 71.92 kB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2056, allocations: 3.938 kB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.2058, allocations: 35.95 kB / 0.7335 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.2061, allocations: 4 kB / 0.7335 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.2065, allocations: 163.1 kB / 0.7337 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.2069, allocations: 0.6845 MB / 0.7344 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.207, allocations: 0 / 0.7344 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.207, allocations: 19.42 kB / 0.7344 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.207, allocations: 0 / 0.7344 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.2358, allocations: 1.787 MB / 0.7361 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.13, allocations: 0.9375 kB / 0.7361 GB, free: 9.043 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.143754032997094] Failed to read output from testmodel.py, exit status != 0: 11.23250808100056 11.248865633 11.046917642 Calling exit ...