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.001296/0.001296, allocations: 119.4 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.001688/0.001688, allocations: 219.7 kB / 23 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.029/1.029, allocations: 150 MB / 463.2 MB, free: 10.48 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.002042/0.002042, allocations: 66.86 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2133, allocations: 89.17 MB / 0.7284 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001905/0.2152, allocations: 0.648 MB / 0.729 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.2169, allocations: 1.229 MB / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.2169, allocations: 8 kB / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.2169, allocations: 3.938 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.217, allocations: 3.938 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006504/0.2177, allocations: 210.9 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.2179, allocations: 183.7 kB / 0.7306 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.703e-05/0.218, allocations: 7.938 kB / 0.7306 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2181, allocations: 75.88 kB / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.2183, allocations: 59.86 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.2183, allocations: 16 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.512e-05/0.2184, allocations: 31.98 kB / 0.7308 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.2184, allocations: 7.984 kB / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.708e-05/0.2185, allocations: 59.83 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.2187, allocations: 155.8 kB / 0.731 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2187, allocations: 0 / 0.731 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2187, allocations: 0 / 0.731 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2187, allocations: 0 / 0.731 GB, free: 14.61 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.000548/0.2193, allocations: 369.5 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2193, allocations: 8.031 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.2194, allocations: 30.75 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.2194, allocations: 8.938 kB / 0.7314 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2195, allocations: 118.4 kB / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2195, allocations: 8.359 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.2196, allocations: 8.375 kB / 0.7315 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.2197, allocations: 54.19 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2197, allocations: 3.938 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.2197, allocations: 0 / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.2197, allocations: 4 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.824e-05/0.2198, allocations: 15.98 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.2203, allocations: 327.8 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/0.2204, allocations: 34.56 kB / 0.7319 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.2204, allocations: 12.86 kB / 0.7319 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.2204, allocations: 0 / 0.7319 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.2206, allocations: 99.33 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2206, allocations: 0 / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002561/0.2209, allocations: 105.6 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.221, allocations: 55.41 kB / 0.7322 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2211, allocations: 117.8 kB / 0.7323 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.2211, allocations: 29.7 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.2212, allocations: 92.12 kB / 0.7324 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.2212, allocations: 23.89 kB / 0.7324 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.2213, allocations: 45.69 kB / 0.7325 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.2214, allocations: 326.8 kB / 0.7328 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.2216, allocations: 55.97 kB / 0.7328 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.2217, allocations: 98.64 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.2219, allocations: 160.1 kB / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2219, allocations: 4 kB / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004218/0.2224, allocations: 268.8 kB / 0.7333 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/0.2224, allocations: 67.39 kB / 0.7334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.2224, allocations: 4 kB / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2225, allocations: 4.125 kB / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.162e-05/0.2225, allocations: 4 kB / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2225, allocations: 0 / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.2228, allocations: 59.83 kB / 0.7335 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.2228, allocations: 11.98 kB / 0.7335 GB, free: 11.75 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.0001106/0.2229, allocations: 130.7 kB / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.223, allocations: 4 kB / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.223, allocations: 12.36 kB / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.223, allocations: 4 kB / 0.7336 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.223, allocations: 0 / 0.7336 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.223, allocations: 0 / 0.7336 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.2231, allocations: 156.6 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2231, allocations: 3.984 kB / 0.7338 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-06/0.2232, allocations: 0 / 0.7338 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2232, allocations: 0 / 0.7338 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2232, allocations: 4 kB / 0.7338 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2232, allocations: 4 kB / 0.7338 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2232, allocations: 0 / 0.7338 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.2233, allocations: 120.9 kB / 0.7339 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.2233, allocations: 3.953 kB / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.2234, allocations: 4 kB / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.2234, allocations: 0 / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.2234, allocations: 11.98 kB / 0.7339 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2234, allocations: 4.062 kB / 0.7339 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.2235, allocations: 91.27 kB / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2235, allocations: 4 kB / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000233/0.2237, allocations: 28 kB / 0.7341 GB, free: 11.11 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.0004937/0.2242, allocations: 0.6516 MB / 0.7347 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.2246, allocations: 238.5 kB / 0.7349 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2246, allocations: 0 / 0.7349 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.752e-05/0.2246, allocations: 23.98 kB / 0.7349 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.2249, allocations: 8.625 kB / 0.7349 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.2269, allocations: 1.725 MB / 0.7366 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2272, allocations: 0.6885 MB / 0.7373 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.2273, allocations: 4 kB / 0.7373 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.2273, allocations: 23.44 kB / 0.7373 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2273, allocations: 0 / 0.7373 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.257, allocations: 3.042 MB / 0.7403 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.13, allocations: 11.83 kB / 0.7403 GB, free: 4.668 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.186610806998942] Failed to read output from testmodel.py, exit status != 0: 11.22809710400179 11.243630626 11.021898094 Calling exit ...