Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.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.001763/0.001763, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001501/0.001501, allocations: 212.2 kB / 22.99 MB, free: 4.605 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.039/1.039, allocations: 149.9 MB / 463 MB, free: 10.34 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.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",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.002508/0.002508, allocations: 67.58 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1829, allocations: 89.17 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001995/0.1849, allocations: 0.6672 MB / 0.7288 GB, free: 392 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1867, allocations: 1.276 MB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.1867, allocations: 0 / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.1867, allocations: 3.938 kB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.1868, allocations: 23.84 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008568/0.1877, allocations: 307.1 kB / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.188, allocations: 259.5 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.1881, allocations: 16.17 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.1883, allocations: 95.88 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1885, allocations: 91.67 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.1885, allocations: 24 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.762e-05/0.1886, allocations: 35.98 kB / 0.7309 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.063e-05/0.1886, allocations: 15.92 kB / 0.7309 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.1888, allocations: 83.8 kB / 0.731 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.1891, allocations: 223.6 kB / 0.7312 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1891, allocations: 0 / 0.7312 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1891, allocations: 0 / 0.7312 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.1891, allocations: 0 / 0.7312 GB, free: 13.95 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.0006077/0.1897, allocations: 423.1 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1897, allocations: 16.03 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.1898, allocations: 30.75 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.1898, allocations: 16.89 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1899, allocations: 114.5 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.19, allocations: 8.359 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.19, allocations: 16.38 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1902, allocations: 61.97 kB / 0.7318 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.1902, allocations: 4 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1902, allocations: 0 / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1902, allocations: 4 kB / 0.7319 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.573e-05/0.1902, allocations: 27.91 kB / 0.7319 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.1908, allocations: 347.7 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.806e-05/0.1909, allocations: 26.67 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.696e-05/0.1909, allocations: 20.84 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.1909, allocations: 3.938 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.1911, allocations: 103.2 kB / 0.7324 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1911, allocations: 4 kB / 0.7324 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003211/0.1915, allocations: 145.5 kB / 0.7325 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1915, allocations: 55.41 kB / 0.7326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1916, allocations: 127.9 kB / 0.7327 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.1917, allocations: 37.7 kB / 0.7327 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.1918, allocations: 108.1 kB / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.1918, allocations: 19.86 kB / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.1919, allocations: 65.67 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1921, allocations: 326.8 kB / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.1923, allocations: 177 kB / 0.7334 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.1926, allocations: 235.8 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.1929, allocations: 231 kB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1929, allocations: 0 / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006854/0.1936, allocations: 475.5 kB / 0.7343 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.1936, allocations: 93.09 kB / 0.7344 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.1937, allocations: 4 kB / 0.7344 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1937, allocations: 0 / 0.7344 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.421e-05/0.1937, allocations: 8.188 kB / 0.7344 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1937, allocations: 11.98 kB / 0.7344 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.1942, allocations: 79.8 kB / 0.7345 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.1942, allocations: 19.98 kB / 0.7345 GB, free: 10.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001351/0.1944, allocations: 129.7 kB / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.1944, allocations: 11.95 kB / 0.7346 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.1944, allocations: 12.38 kB / 0.7346 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1944, allocations: 0 / 0.7346 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1944, allocations: 0 / 0.7346 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1944, allocations: 3.984 kB / 0.7346 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.1946, allocations: 156.7 kB / 0.7348 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1946, allocations: 0 / 0.7348 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.1946, allocations: 4 kB / 0.7348 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1946, allocations: 0 / 0.7348 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1946, allocations: 4 kB / 0.7348 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1946, allocations: 4 kB / 0.7348 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1946, allocations: 4 kB / 0.7348 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.1949, allocations: 145.3 kB / 0.7349 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.1949, allocations: 11.98 kB / 0.7349 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.1949, allocations: 7.938 kB / 0.735 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.499e-05/0.1949, allocations: 3.984 kB / 0.735 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.195, allocations: 15.92 kB / 0.735 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.195, allocations: 4 kB / 0.735 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.702e-05/0.195, allocations: 99.2 kB / 0.7351 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.195, allocations: 0 / 0.7351 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002762/0.1953, allocations: 44 kB / 0.7351 GB, free: 9.492 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006241/0.1959, allocations: 0.6808 MB / 0.7358 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005768/0.1965, allocations: 415.2 kB / 0.7362 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1965, allocations: 0 / 0.7362 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.1966, allocations: 31.98 kB / 0.7362 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1969, allocations: 34.61 kB / 0.7362 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.2001, allocations: 2.446 MB / 0.7386 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.731e-05/0.2002, allocations: 75.89 kB / 0.7387 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.045e-05/0.2002, allocations: 4.438 kB / 0.7387 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.2003, allocations: 31.42 kB / 0.7387 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of SimCode: time 6.62e-07/0.2003, allocations: 0 / 0.7387 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0345/0.2348, allocations: 4.682 MB / 0.7433 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.45, allocations: 6.797 kB / 0.7433 GB, free: 0.9766 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch_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_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.552052428014576] Failed to read output from testmodel.py, exit status != 0: 11.567767805885524 11.584360646 11.392011996 Calling exit ...