Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.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.001267/0.001267, 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.001665/0.001665, allocations: 228 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.9922/0.9922, allocations: 150 MB / 463.2 MB, free: 10.5 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.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",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.002025/0.002025, allocations: 69.92 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1954, allocations: 89.18 MB / 0.7284 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.00271/0.1981, allocations: 0.6294 MB / 0.729 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.2005, allocations: 1.237 MB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.2006, allocations: 0 / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.2006, allocations: 3.938 kB / 0.7302 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.619e-05/0.2007, allocations: 11.88 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.2016, allocations: 211 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.2019, allocations: 175.7 kB / 0.7306 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.202, allocations: 15.92 kB / 0.7306 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2022, allocations: 63.91 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.2024, allocations: 63.84 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.2024, allocations: 16 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.2025, allocations: 27.98 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.2026, allocations: 11.92 kB / 0.7308 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.2027, allocations: 55.89 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.203, allocations: 155.8 kB / 0.731 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.203, allocations: 0 / 0.731 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.203, allocations: 4 kB / 0.731 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.203, allocations: 0 / 0.731 GB, free: 14.6 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.0007333/0.2038, allocations: 365.5 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.2038, allocations: 8.031 kB / 0.7313 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.2039, allocations: 34.75 kB / 0.7314 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/0.2039, allocations: 8.938 kB / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.2041, allocations: 114.4 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.2041, allocations: 4.375 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.2042, allocations: 12.36 kB / 0.7315 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.2043, allocations: 54.25 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.2044, allocations: 7.922 kB / 0.7315 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2044, allocations: 0 / 0.7315 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2044, allocations: 0 / 0.7315 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.81e-05/0.2045, allocations: 15.98 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.2051, allocations: 331.8 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.973e-05/0.2051, allocations: 26.58 kB / 0.7319 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.2052, allocations: 16.95 kB / 0.7319 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.2052, allocations: 3.984 kB / 0.7319 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.2055, allocations: 83.27 kB / 0.732 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.2055, allocations: 0 / 0.732 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0003856/0.2058, allocations: 105.6 kB / 0.7321 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.2059, allocations: 51.41 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2061, allocations: 125.7 kB / 0.7323 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.2061, allocations: 37.69 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.2062, allocations: 88.14 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.2062, allocations: 11.91 kB / 0.7324 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.2064, allocations: 53.62 kB / 0.7325 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000242/0.2066, allocations: 326.8 kB / 0.7328 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.2068, allocations: 55.97 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.207, allocations: 100.2 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.2073, allocations: 151.6 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2073, allocations: 0 / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006752/0.208, allocations: 272.9 kB / 0.7333 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.79e-05/0.2081, allocations: 71.39 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2081, allocations: 0 / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2081, allocations: 0 / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.011e-05/0.2082, allocations: 4 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.2082, allocations: 480 / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.2087, allocations: 63.81 kB / 0.7335 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/0.2088, allocations: 12 kB / 0.7335 GB, free: 11.76 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001541/0.2089, allocations: 134.6 kB / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.2089, allocations: 0 / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.209, allocations: 16.31 kB / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.209, allocations: 0 / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.209, allocations: 0 / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.209, allocations: 0 / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.2092, allocations: 152.6 kB / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2092, allocations: 0 / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.2092, allocations: 4 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2092, allocations: 4 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2092, allocations: 0 / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2092, allocations: 0 / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2092, allocations: 0 / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.2094, allocations: 116.9 kB / 0.7339 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.2094, allocations: 7.953 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.2095, allocations: 4 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.302e-05/0.2095, allocations: 4.062 kB / 0.7339 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.2095, allocations: 11.98 kB / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.2096, allocations: 0 / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.776e-05/0.2096, allocations: 91.27 kB / 0.734 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2096, allocations: 0 / 0.734 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004019/0.21, allocations: 32 kB / 0.734 GB, free: 11.13 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007361/0.2108, allocations: 0.6637 MB / 0.7347 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.2112, allocations: 214.7 kB / 0.7349 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2112, allocations: 0 / 0.7349 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.969e-05/0.2113, allocations: 24 kB / 0.7349 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2116, allocations: 12.89 kB / 0.7349 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.2146, allocations: 1.728 MB / 0.7366 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.215, allocations: 0.6846 MB / 0.7373 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.2151, allocations: 11.98 kB / 0.7373 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.2151, allocations: 19.44 kB / 0.7373 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2151, allocations: 0 / 0.7373 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/0.2526, allocations: 3.021 MB / 0.7402 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.98, allocations: 7.625 kB / 0.7403 GB, free: 4.707 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.032518153999263] Failed to read output from testmodel.py, exit status != 0: 11.082886069998494 11.110202977 10.902255626 Calling exit ...