Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.00128/0.00128, 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.001468/0.001468, allocations: 216.8 kB / 23.01 MB, free: 4.996 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.9793/0.9793, allocations: 150 MB / 463.2 MB, free: 10.55 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.FallingEdge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.36 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.208, allocations: 89.17 MB / 0.7284 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002004/0.21, allocations: 0.7388 MB / 0.7291 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.2116, allocations: 1.182 MB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.2117, allocations: 3.938 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.2117, allocations: 3.938 kB / 0.7302 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.589e-05/0.2118, allocations: 15.92 kB / 0.7303 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.2123, allocations: 136.4 kB / 0.7304 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.2125, allocations: 119.7 kB / 0.7305 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2126, allocations: 11.98 kB / 0.7305 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.2128, allocations: 55.91 kB / 0.7306 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.2129, allocations: 47.81 kB / 0.7306 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.2129, allocations: 8 kB / 0.7306 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.214e-05/0.213, allocations: 23.98 kB / 0.7306 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.213, allocations: 11.98 kB / 0.7307 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.2131, allocations: 47.78 kB / 0.7307 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.2133, allocations: 116 kB / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2133, allocations: 0 / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2133, allocations: 3.938 kB / 0.7308 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2133, allocations: 0 / 0.7308 GB, free: 14.81 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000677/0.214, allocations: 343.7 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.214, allocations: 15.97 kB / 0.7312 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.2141, allocations: 30.75 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.2141, allocations: 12.88 kB / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.2143, allocations: 116.8 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.2143, allocations: 8.375 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.2143, allocations: 8.375 kB / 0.7313 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.2146, allocations: 66.22 kB / 0.7314 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2146, allocations: 7.938 kB / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2146, allocations: 0 / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2146, allocations: 0 / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.2148, allocations: 47.89 kB / 0.7314 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.2154, allocations: 311.8 kB / 0.7317 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.2156, allocations: 58.55 kB / 0.7318 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.2157, allocations: 28.97 kB / 0.7318 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2157, allocations: 7.984 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.216, allocations: 83.36 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.216, allocations: 4 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004587/0.2165, allocations: 141.6 kB / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.2165, allocations: 55.41 kB / 0.7321 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2166, allocations: 113.8 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.2167, allocations: 33.7 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.2167, allocations: 92.12 kB / 0.7323 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.2168, allocations: 23.8 kB / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.109e-05/0.2168, allocations: 45.69 kB / 0.7324 GB, free: 13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.217, allocations: 318.8 kB / 0.7327 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.2172, allocations: 51.95 kB / 0.7327 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.2173, allocations: 92.19 kB / 0.7328 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.2176, allocations: 141.9 kB / 0.733 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2176, allocations: 0 / 0.733 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004616/0.2181, allocations: 219.1 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.2182, allocations: 33.7 kB / 0.7332 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2182, allocations: 320 / 0.7332 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2182, allocations: 3.984 kB / 0.7332 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.2183, allocations: 12 kB / 0.7332 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.2183, allocations: 7.938 kB / 0.7332 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.2185, allocations: 32.08 kB / 0.7333 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.2185, allocations: 11.98 kB / 0.7333 GB, free: 12.04 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001311/0.2186, allocations: 129.8 kB / 0.7334 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.2187, allocations: 7.953 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.2187, allocations: 8.375 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2187, allocations: 4 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2187, allocations: 0 / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2187, allocations: 3.938 kB / 0.7334 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.2192, allocations: 357.4 kB / 0.7338 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2192, allocations: 4 kB / 0.7338 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.2193, allocations: 7.984 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2193, allocations: 0 / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2193, allocations: 0 / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2193, allocations: 4 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2193, allocations: 3.938 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.2196, allocations: 215.4 kB / 0.734 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.2196, allocations: 7.953 kB / 0.734 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.2197, allocations: 3.984 kB / 0.734 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.2197, allocations: 4 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.2198, allocations: 15.92 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.2198, allocations: 0 / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.684e-05/0.2199, allocations: 94 kB / 0.7341 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2199, allocations: 7.938 kB / 0.7341 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002677/0.2201, allocations: 28 kB / 0.7341 GB, free: 11.07 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0006925/0.2208, allocations: 0.7397 MB / 0.7349 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000443/0.2213, allocations: 171.2 kB / 0.735 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2213, allocations: 0 / 0.735 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.2214, allocations: 27.98 kB / 0.7351 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.2217, allocations: 16.11 kB / 0.7351 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.224, allocations: 1.705 MB / 0.7367 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.2243, allocations: 0.6885 MB / 0.7374 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.2243, allocations: 7.984 kB / 0.7374 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.2244, allocations: 19.44 kB / 0.7374 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.2244, allocations: 0 / 0.7374 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.2552, allocations: 2.688 MB / 0.7401 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.95, allocations: 20 kB / 0.7401 GB, free: 4.969 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge_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_FallingEdge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.842581980999967] Failed to read output from testmodel.py, exit status != 0: 11.057764237997617 11.08714567 10.868454682 Calling exit ...