Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.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.001444/0.001444, 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.001818/0.001818, allocations: 209.3 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.596/1.596, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.016/1.016, 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.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",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.002115/0.002115, allocations: 67.86 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2198, allocations: 89.17 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002606/0.2224, allocations: 0.6237 MB / 0.7288 GB, free: 400 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.2251, allocations: 1.21 MB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.2251, allocations: 0 / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.2252, allocations: 3.938 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.2253, allocations: 11.88 kB / 0.73 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.2263, allocations: 215.2 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.2267, allocations: 179.6 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2268, allocations: 11.98 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.2269, allocations: 67.91 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.2271, allocations: 55.83 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.2272, allocations: 16 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.2273, allocations: 24 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.2273, allocations: 11.97 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.2274, allocations: 55.78 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.2278, allocations: 155.9 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.2278, allocations: 7.922 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2278, allocations: 0 / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.2278, allocations: 4 kB / 0.7307 GB, free: 14.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.0007139/0.2285, allocations: 357.5 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2285, allocations: 8.031 kB / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.2286, allocations: 38.73 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.305e-05/0.2287, allocations: 4.938 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.2288, allocations: 114.5 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.2289, allocations: 8.375 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.2289, allocations: 12.38 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.2291, allocations: 58.22 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2291, allocations: 3.938 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.2291, allocations: 4 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2291, allocations: 3.938 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.324e-05/0.2292, allocations: 19.92 kB / 0.7313 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/0.2299, allocations: 291.9 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.23, allocations: 30.58 kB / 0.7317 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.23, allocations: 16.94 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.2301, allocations: 4 kB / 0.7317 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002667/0.2303, allocations: 91.25 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.2303, allocations: 0 / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0003578/0.2307, allocations: 101.6 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.2307, allocations: 59.39 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2309, allocations: 121.7 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/0.2309, allocations: 33.7 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.231, allocations: 88.14 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.2311, allocations: 20.25 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.2312, allocations: 45.69 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.2314, allocations: 322.8 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.2317, allocations: 127.4 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.2319, allocations: 155.6 kB / 0.7328 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.2323, allocations: 159.6 kB / 0.7329 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2323, allocations: 0 / 0.7329 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007611/0.233, allocations: 324.2 kB / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.134e-05/0.2331, allocations: 67.39 kB / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2331, allocations: 4.125 kB / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.2331, allocations: 7.984 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.018e-05/0.2332, allocations: 7.938 kB / 0.7333 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2332, allocations: 4 kB / 0.7333 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.2337, allocations: 51.89 kB / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.2337, allocations: 11.98 kB / 0.7334 GB, free: 11.34 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,xor1.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.0001495/0.2338, allocations: 125.8 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.2339, allocations: 4 kB / 0.7335 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.2339, allocations: 8.375 kB / 0.7335 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2339, allocations: 0 / 0.7335 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2339, allocations: 0 / 0.7335 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.2339, allocations: 7.938 kB / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.2341, allocations: 148.6 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2341, allocations: 0 / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.2341, allocations: 7.938 kB / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2341, allocations: 0 / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2341, allocations: 4.062 kB / 0.7337 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-05/0.2342, allocations: 11.98 kB / 0.7337 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2342, allocations: 0 / 0.7337 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.2344, allocations: 113 kB / 0.7338 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.2344, allocations: 12.03 kB / 0.7338 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2345, allocations: 3.938 kB / 0.7338 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.2345, allocations: 0 / 0.7338 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.2345, allocations: 11.98 kB / 0.7338 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.2346, allocations: 4 kB / 0.7338 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.947e-05/0.2346, allocations: 91.27 kB / 0.7339 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2346, allocations: 0 / 0.7339 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004313/0.2351, allocations: 28 kB / 0.734 GB, free: 10.7 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,xor1.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.0007215/0.2358, allocations: 0.6534 MB / 0.7346 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005747/0.2364, allocations: 282.5 kB / 0.7349 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2364, allocations: 0 / 0.7349 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.2365, allocations: 31.91 kB / 0.7349 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.2368, allocations: 20.12 kB / 0.7349 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.2403, allocations: 1.962 MB / 0.7368 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.191e-05/0.2403, allocations: 67.34 kB / 0.7369 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.752e-05/0.2404, allocations: 7.984 kB / 0.7369 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.2404, allocations: 16 kB / 0.7369 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2405, allocations: 0 / 0.7369 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.2723, allocations: 3.656 MB / 0.7405 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.33, allocations: 8.297 kB / 0.7405 GB, free: 3.918 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor_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_Xor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.461323398165405] Failed to read output from testmodel.py, exit status != 0: 11.444132714066654 11.46792372 11.235246805 Calling exit ...