Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 111.3 kB / 17.6 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 186.8 kB / 20.78 MB, free: 1.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 249.4 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.794/2.794, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 64.08 kB / 1.107 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8996/0.9015, allocations: 168.7 MB / 1.272 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002112/0.9036, allocations: 0.7624 MB / 1.272 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.9053, allocations: 1.155 MB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.9053, allocations: 0.6875 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.9054, allocations: 4.453 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.879e-05/0.9055, allocations: 15.27 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.906, allocations: 138 kB / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.9063, allocations: 114.7 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.9064, allocations: 15.05 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.9065, allocations: 48.5 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.9066, allocations: 47.45 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.9066, allocations: 10.53 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.709e-05/0.9067, allocations: 29.31 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.9067, allocations: 13.3 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.9068, allocations: 53.02 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.907, allocations: 111 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.907, allocations: 0.8125 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.907, allocations: 0 / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.907, allocations: 0 / 1.274 GB, free: 6.137 MB / 0.9981 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.0005481/0.9076, allocations: 418.7 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.9076, allocations: 9.938 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/0.9076, allocations: 33.58 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.9077, allocations: 14.2 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.604e-05/0.9078, allocations: 164.7 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.9078, allocations: 10.33 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.9078, allocations: 6.875 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.908, allocations: 71.61 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.908, allocations: 3.938 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.908, allocations: 2.078 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.908, allocations: 2 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.9082, allocations: 48.56 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.9087, allocations: 340.7 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.9089, allocations: 52.58 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.909, allocations: 35.73 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.9091, allocations: 5.344 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002704/0.9093, allocations: 84.5 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.9093, allocations: 0.9688 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004827/0.9098, allocations: 144.2 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.9098, allocations: 56.47 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.9099, allocations: 125.4 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.91, allocations: 35.11 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.91, allocations: 87.27 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.91, allocations: 17.45 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/0.9101, allocations: 37.14 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.9102, allocations: 325.2 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.9104, allocations: 52.94 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.9106, allocations: 87.44 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.9109, allocations: 145.2 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9109, allocations: 0.8125 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004939/0.9114, allocations: 214.4 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.9114, allocations: 35.53 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.9114, allocations: 1.906 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.9115, allocations: 6.031 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.9116, allocations: 19.03 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.9116, allocations: 2.328 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.9118, allocations: 38.78 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.9118, allocations: 9.172 kB / 1.277 GB, free: 3.93 MB / 0.9981 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 9.857e-05/0.9119, allocations: 130.2 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.9119, allocations: 7.078 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.912, allocations: 10.42 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.912, allocations: 2.219 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.912, allocations: 1.094 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.912, allocations: 0 / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.9124, allocations: 375.3 kB / 1.277 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9124, allocations: 5.656 kB / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.9125, allocations: 11.84 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.9125, allocations: 4.859 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.9125, allocations: 2.578 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9125, allocations: 0 / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.9125, allocations: 8.656 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.9128, allocations: 204.5 kB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.9129, allocations: 91.45 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.9129, allocations: 0.9688 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.913, allocations: 6.469 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.913, allocations: 12.95 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.913, allocations: 1.969 kB / 1.277 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.9131, allocations: 94.83 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9131, allocations: 4.781 kB / 1.278 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002794/0.9133, allocations: 24.22 kB / 1.278 GB, free: 3.078 MB / 0.9981 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.0005615/0.9139, allocations: 0.7547 MB / 1.278 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004141/0.9143, allocations: 159.3 kB / 1.278 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9143, allocations: 4.844 kB / 1.278 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.9144, allocations: 31.52 kB / 1.278 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.9147, allocations: 20.36 kB / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.9168, allocations: 1.704 MB / 1.28 GB, free: 16.85 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.9172, allocations: 0.6917 MB / 1.281 GB, free: 16.15 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.365e-05/0.9172, allocations: 5 kB / 1.281 GB, free: 16.15 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.9173, allocations: 17.83 kB / 1.281 GB, free: 16.14 MB / 1.014 GB Notification: Performance of SimCode: time 7.81e-07/0.9173, allocations: 0 / 1.281 GB, free: 16.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.9421, allocations: 2.569 MB / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/9.036, allocations: 4.062 kB / 1.283 GB, free: 15.68 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.097367128008045] Failed to read output from testmodel.py, exit status != 0: 9.105037111003185 9.120626824 8.210521664 Calling exit ...