Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001386/0.001386, allocations: 116 kB / 17.16 MB, free: 5.863 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.001371/0.001371, allocations: 209.5 kB / 20.13 MB, free: 2.922 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.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.839/2.839, allocations: 476.7 MB / 0.7678 GB, free: 9.32 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002345/0.002345, allocations: 63.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9516/0.9539, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002131/0.9561, allocations: 0.7528 MB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.9577, allocations: 1.193 MB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.9578, allocations: 0 / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.9578, allocations: 4.547 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.9579, allocations: 19.47 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.9584, allocations: 127.9 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.9586, allocations: 117.9 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.9587, allocations: 14.45 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.856e-05/0.9588, allocations: 44.62 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.9589, allocations: 49.67 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.9589, allocations: 11.22 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.959, allocations: 24.14 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.959, allocations: 9.234 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.9591, allocations: 46.94 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.9593, allocations: 117.9 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9593, allocations: 0 / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9593, allocations: 0 / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.9594, allocations: 0 / 1.281 GB, free: 10.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006779/0.96, allocations: 417.2 kB / 1.282 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.9601, allocations: 10.59 kB / 1.282 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.894e-05/0.9601, allocations: 5.312 kB / 1.282 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.9601, allocations: 33.28 kB / 1.282 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.9602, allocations: 10.39 kB / 1.282 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.9603, allocations: 177.3 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.9603, allocations: 3.969 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.9604, allocations: 15.09 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.9606, allocations: 66.61 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.9606, allocations: 0.5 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.9606, allocations: 1.047 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.9606, allocations: 1.25 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.9608, allocations: 42.31 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.9614, allocations: 337.5 kB / 1.282 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.9616, allocations: 56.41 kB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.9618, allocations: 34.16 kB / 1.283 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.9618, allocations: 1.516 kB / 1.283 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.962, allocations: 87.73 kB / 1.283 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.962, allocations: 1.344 kB / 1.283 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004859/0.9625, allocations: 135.5 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.9626, allocations: 62.66 kB / 1.283 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.9627, allocations: 125.2 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.9627, allocations: 32.23 kB / 1.283 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.9628, allocations: 90.61 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.9628, allocations: 19.88 kB / 1.283 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.9629, allocations: 37.83 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9631, allocations: 324.6 kB / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.9632, allocations: 49.47 kB / 1.283 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.9634, allocations: 90.36 kB / 1.284 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.9637, allocations: 136.7 kB / 1.284 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9638, allocations: 4.984 kB / 1.284 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004994/0.9643, allocations: 215 kB / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.9643, allocations: 37.45 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9643, allocations: 1.438 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.9643, allocations: 1.891 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.9644, allocations: 14.67 kB / 1.284 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.9644, allocations: 6.484 kB / 1.284 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.9647, allocations: 39.22 kB / 1.284 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.9647, allocations: 7.109 kB / 1.284 GB, free: 7.918 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,edge1.y,edge1.u,$PRE.edge1.u,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.0001348/0.9648, allocations: 138.7 kB / 1.284 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.9648, allocations: 6.391 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.9649, allocations: 16.12 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.9649, allocations: 0.6875 kB / 1.284 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9649, allocations: 4 kB / 1.284 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.9649, allocations: 1.656 kB / 1.284 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.9655, allocations: 378.7 kB / 1.285 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9655, allocations: 0 / 1.285 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.9655, allocations: 12.66 kB / 1.285 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9655, allocations: 1.062 kB / 1.285 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.9655, allocations: 1.812 kB / 1.285 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9655, allocations: 4 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.9655, allocations: 5.281 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.9659, allocations: 208.7 kB / 1.285 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.9659, allocations: 87.84 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.966, allocations: 1.969 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.966, allocations: 6.984 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.9661, allocations: 17.94 kB / 1.285 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.9661, allocations: 3.328 kB / 1.285 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.179e-05/0.9662, allocations: 90.05 kB / 1.285 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9662, allocations: 1.281 kB / 1.285 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002714/0.9664, allocations: 21.19 kB / 1.285 GB, free: 7.066 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0007128/0.9671, allocations: 0.7481 MB / 1.286 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.9675, allocations: 159.9 kB / 1.286 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9676, allocations: 3.938 kB / 1.286 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.9677, allocations: 36.03 kB / 1.286 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.968, allocations: 21.86 kB / 1.286 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.9702, allocations: 1.692 MB / 1.288 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.9706, allocations: 0.6863 MB / 1.288 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.075e-05/0.9706, allocations: 5.297 kB / 1.288 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.9707, allocations: 26.03 kB / 1.288 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of SimCode: time 6.72e-07/0.9707, allocations: 0 / 1.288 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.9905, allocations: 2.605 MB / 1.291 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.5/9.49, allocations: 9.406 kB / 1.291 GB, free: 3.625 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.792223147000186] Failed to read output from testmodel.py, exit status != 0: 9.61742280999897 9.641330523 8.677384509 Calling exit ...