Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Abs.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.001851/0.001851, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.00296/0.00296, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.628/1.628, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 1.01/1.01, allocations: 150 MB / 459.5 MB, free: 5.664 MB / 350.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.Abs,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Abs",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.00203/0.00203, allocations: 80.42 kB / 0.6362 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.179, allocations: 89.13 MB / 0.7232 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001976/0.181, allocations: 0.6402 MB / 0.7238 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1821, allocations: 0.8787 MB / 0.7247 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.1821, allocations: 0 / 0.7247 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.1821, allocations: 7.938 kB / 0.7247 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.1822, allocations: 3.938 kB / 0.7247 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.1823, allocations: 19.95 kB / 0.7247 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.997e-05/0.1824, allocations: 23.86 kB / 0.7248 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.1825, allocations: 8 kB / 0.7248 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.1825, allocations: 3.938 kB / 0.7248 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.1826, allocations: 11.98 kB / 0.7248 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1826, allocations: 7.938 kB / 0.7248 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.772e-06/0.1826, allocations: 0 / 0.7248 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.1826, allocations: 4 kB / 0.7248 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.1826, allocations: 15.92 kB / 0.7248 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.287e-05/0.1827, allocations: 28.17 kB / 0.7248 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1827, allocations: 0 / 0.7248 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1827, allocations: 0 / 0.7248 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.1827, allocations: 0 / 0.7248 GB, free: 2.344 MB / 0.5294 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.0004997/0.1832, allocations: 341.3 kB / 0.7252 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1833, allocations: 8.031 kB / 0.7252 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.1833, allocations: 30.75 kB / 0.7252 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.1833, allocations: 0.9375 kB / 0.7252 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.1835, allocations: 172.3 kB / 0.7254 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1835, allocations: 8.312 kB / 0.7254 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.1835, allocations: 384 / 0.7254 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1837, allocations: 50.19 kB / 0.7254 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1837, allocations: 3.938 kB / 0.7254 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1837, allocations: 3.984 kB / 0.7254 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1837, allocations: 0 / 0.7254 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.1839, allocations: 31.97 kB / 0.7255 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.1842, allocations: 244.9 kB / 0.7257 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.1844, allocations: 46.47 kB / 0.7257 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.767e-05/0.1845, allocations: 22.8 kB / 0.7258 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1845, allocations: 4 kB / 0.7258 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1845, allocations: 34.56 kB / 0.7258 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.1845, allocations: 0 / 0.7258 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003732/0.1849, allocations: 81.64 kB / 0.7259 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.1849, allocations: 51.41 kB / 0.7259 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.185, allocations: 101.8 kB / 0.726 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.185, allocations: 25.7 kB / 0.726 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.1851, allocations: 88.27 kB / 0.7261 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.1851, allocations: 7.953 kB / 0.7261 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.1851, allocations: 9.719 kB / 0.7261 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1853, allocations: 318.8 kB / 0.7264 GB, free: 476 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.1853, allocations: 15.98 kB / 0.7265 GB, free: 460 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.1854, allocations: 15.98 kB / 0.7265 GB, free: 444 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.1856, allocations: 40.89 kB / 0.7265 GB, free: 400 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1856, allocations: 3.938 kB / 0.7265 GB, free: 396 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.1858, allocations: 69.59 kB / 0.7266 GB, free: 320 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1858, allocations: 4 kB / 0.7266 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1858, allocations: 0 / 0.7266 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1858, allocations: 0 / 0.7266 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.1859, allocations: 19.95 kB / 0.7266 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1859, allocations: 0 / 0.7266 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.186, allocations: 11.94 kB / 0.7266 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.186, allocations: 7.984 kB / 0.7266 GB, free: 276 kB / 0.5294 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 (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.6e-05/0.1861, allocations: 113.8 kB / 0.7267 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.1861, allocations: 4 kB / 0.7267 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.1861, allocations: 3.125 kB / 0.7267 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1861, allocations: 3.938 kB / 0.7267 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1861, allocations: 0 / 0.7267 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1861, allocations: 4 kB / 0.7268 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1863, allocations: 165.6 kB / 0.7269 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1863, allocations: 0 / 0.7269 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.1864, allocations: 8 kB / 0.7269 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1864, allocations: 4.172 kB / 0.7269 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1864, allocations: 0 / 0.7269 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1864, allocations: 0 / 0.7269 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1864, allocations: 0 / 0.7269 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.1867, allocations: 175.4 kB / 0.7271 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.1867, allocations: 77.11 kB / 0.7272 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1867, allocations: 4 kB / 0.7272 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.1868, allocations: 4 kB / 0.7272 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1868, allocations: 3.984 kB / 0.7272 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.1868, allocations: 0 / 0.7272 GB, free: 15.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.077e-05/0.1869, allocations: 83.28 kB / 0.7273 GB, free: 15.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1869, allocations: 4.031 kB / 0.7273 GB, free: 15.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000215/0.1871, allocations: 4 kB / 0.7273 GB, free: 15.53 MB / 0.545 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 (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.0006543/0.1878, allocations: 0.6929 MB / 0.7279 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.188, allocations: 43.92 kB / 0.728 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.188, allocations: 0 / 0.728 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.223e-05/0.1881, allocations: 19.98 kB / 0.728 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1884, allocations: 5.406 kB / 0.728 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.1889, allocations: 139.2 kB / 0.7281 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1893, allocations: 0.6768 MB / 0.7288 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.124e-05/0.1893, allocations: 0 / 0.7288 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.1893, allocations: 19.36 kB / 0.7288 GB, free: 13.84 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.1893, allocations: 4 kB / 0.7288 GB, free: 13.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.2127, allocations: 1.26 MB / 0.7301 GB, free: 12.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.298, allocations: 14.52 kB / 0.7301 GB, free: 12.66 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Abs_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_Abs.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.49952686810866] Failed to read output from testmodel.py, exit status != 0: 8.36553481197916 8.384165901 8.197102487 Calling exit ...