Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.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.001348/0.001348, allocations: 117.8 kB / 19.7 MB, free: 2.039 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.001448/0.001448, allocations: 223 kB / 23.01 MB, free: 4.938 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.9734/0.9734, allocations: 150 MB / 463.2 MB, free: 10.54 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.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",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.001963/0.001963, allocations: 65.61 kB / 0.6413 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1878, allocations: 89.18 MB / 0.7284 GB, free: 1.383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.002065/0.1899, allocations: 0.723 MB / 0.7291 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1916, allocations: 1.182 MB / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.1917, allocations: 0 / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.1917, allocations: 3.938 kB / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.255e-05/0.1918, allocations: 15.86 kB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.1924, allocations: 131.7 kB / 0.7304 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.1927, allocations: 119.8 kB / 0.7305 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1928, allocations: 15.97 kB / 0.7305 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1929, allocations: 47.91 kB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.193, allocations: 51.81 kB / 0.7306 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.193, allocations: 12 kB / 0.7306 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.1931, allocations: 27.92 kB / 0.7306 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.1931, allocations: 4 kB / 0.7306 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.1932, allocations: 47.84 kB / 0.7307 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1934, allocations: 111.9 kB / 0.7308 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1934, allocations: 0 / 0.7308 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.845e-06/0.1934, allocations: 3.938 kB / 0.7308 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.453e-06/0.1934, allocations: 0 / 0.7308 GB, free: 14.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006733/0.1941, allocations: 339.8 kB / 0.7311 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1941, allocations: 12.03 kB / 0.7311 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.1942, allocations: 34.73 kB / 0.7312 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1942, allocations: 8.891 kB / 0.7312 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1944, allocations: 114.4 kB / 0.7313 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1944, allocations: 8.375 kB / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1944, allocations: 8.375 kB / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.1946, allocations: 66.16 kB / 0.7314 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1946, allocations: 7.938 kB / 0.7314 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1946, allocations: 7.984 kB / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1946, allocations: 0 / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.1948, allocations: 43.95 kB / 0.7314 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.1954, allocations: 299.7 kB / 0.7317 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.1956, allocations: 62.56 kB / 0.7318 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.1957, allocations: 32.95 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.1957, allocations: 0 / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.196, allocations: 95.31 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.196, allocations: 0 / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004639/0.1964, allocations: 137.8 kB / 0.732 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.1965, allocations: 55.41 kB / 0.7321 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1966, allocations: 125.6 kB / 0.7322 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.1966, allocations: 29.7 kB / 0.7322 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.1967, allocations: 92.14 kB / 0.7323 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.1968, allocations: 19.95 kB / 0.7323 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.1968, allocations: 41.7 kB / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.197, allocations: 322.8 kB / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.1972, allocations: 51.97 kB / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.1973, allocations: 87.5 kB / 0.7328 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.1976, allocations: 146 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1976, allocations: 0 / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004868/0.1981, allocations: 211.2 kB / 0.7331 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.491e-05/0.1982, allocations: 41.69 kB / 0.7332 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1982, allocations: 0 / 0.7332 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1982, allocations: 0 / 0.7332 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.1983, allocations: 15.92 kB / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1983, allocations: 4 kB / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1985, allocations: 39.86 kB / 0.7332 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.1985, allocations: 12.08 kB / 0.7333 GB, free: 12.12 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001053/0.1986, allocations: 124 kB / 0.7334 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.1987, allocations: 7.953 kB / 0.7334 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.1987, allocations: 16.25 kB / 0.7334 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.1987, allocations: 4 kB / 0.7334 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1987, allocations: 3.984 kB / 0.7334 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1987, allocations: 0 / 0.7334 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.1992, allocations: 345.5 kB / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1992, allocations: 0 / 0.7337 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.1993, allocations: 11.98 kB / 0.7337 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1993, allocations: 0 / 0.7337 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1993, allocations: 4 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1993, allocations: 0 / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1993, allocations: 0 / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.1996, allocations: 215.3 kB / 0.734 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.1997, allocations: 7.953 kB / 0.734 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.1997, allocations: 11.98 kB / 0.734 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.1998, allocations: 4 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.1998, allocations: 7.922 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.1998, allocations: 4 kB / 0.734 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.46e-05/0.1999, allocations: 91.27 kB / 0.7341 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1999, allocations: 4 kB / 0.7341 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002708/0.2002, allocations: 27.94 kB / 0.7341 GB, free: 11.17 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0007113/0.2009, allocations: 0.7475 MB / 0.7348 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.2013, allocations: 167.3 kB / 0.735 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2013, allocations: 0 / 0.735 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.2014, allocations: 39.97 kB / 0.735 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.0003001/0.2017, allocations: 9.891 kB / 0.735 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.2042, allocations: 1.701 MB / 0.7367 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.2045, allocations: 0.6846 MB / 0.7374 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.2046, allocations: 7.984 kB / 0.7374 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.2046, allocations: 19.44 kB / 0.7374 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.2046, allocations: 0 / 0.7374 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.2419, allocations: 2.686 MB / 0.74 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.11, allocations: 5.219 kB / 0.74 GB, free: 5.078 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.04383484599748] Failed to read output from testmodel.py, exit status != 0: 11.212785979001637 11.228943644 11.032265846 Calling exit ...