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.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.001962/0.001962, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.00234/0.00234, allocations: 217.3 kB / 23.05 MB, free: 5.074 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.784/2.784, allocations: 476.7 MB / 0.7715 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] 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.FallingEdge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.00204/0.00204, allocations: 64.14 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 170 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002159/0.3291, allocations: 0.7478 MB / 1.285 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3309, allocations: 1.192 MB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.386e-05/0.331, allocations: 0 / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.331, allocations: 11.92 kB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.3311, allocations: 7.875 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.3316, allocations: 133.4 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.3318, allocations: 127.8 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.3319, allocations: 8 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.332, allocations: 51.78 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3321, allocations: 51.86 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.3321, allocations: 12 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.3322, allocations: 23.98 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.3322, allocations: 15.94 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.29e-05/0.3323, allocations: 47.83 kB / 1.287 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.3325, allocations: 111.1 kB / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3325, allocations: 0 / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3325, allocations: 0 / 1.287 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.3325, allocations: 0 / 1.287 GB, free: 9.273 MB / 0.9825 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.0005997/0.3331, allocations: 335.8 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3332, allocations: 12.02 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.3332, allocations: 8.188 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.3332, allocations: 34.69 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.3333, allocations: 8.891 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3334, allocations: 118.4 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3334, allocations: 4.375 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3334, allocations: 8.375 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.3336, allocations: 69.97 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3336, allocations: 0 / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3337, allocations: 8 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3337, allocations: 3.984 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.3338, allocations: 39.91 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.3345, allocations: 307.8 kB / 1.288 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3347, allocations: 62.61 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3348, allocations: 32.89 kB / 1.288 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.3348, allocations: 4 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.3351, allocations: 87.31 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.3351, allocations: 3.938 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004584/0.3356, allocations: 141.7 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.3356, allocations: 67.28 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3357, allocations: 121.8 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3357, allocations: 29.7 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.3358, allocations: 88.14 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.3358, allocations: 27.78 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.336, allocations: 37.7 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.3362, allocations: 326.8 kB / 1.289 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.3364, allocations: 47.97 kB / 1.289 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.3366, allocations: 84.25 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.3368, allocations: 145.9 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3368, allocations: 0 / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004681/0.3373, allocations: 211.2 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.3374, allocations: 37.69 kB / 1.289 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3374, allocations: 4 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3374, allocations: 0 / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.3375, allocations: 11.98 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3375, allocations: 4 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.3377, allocations: 27.97 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.3377, allocations: 11.98 kB / 1.289 GB, free: 6.5 MB / 0.9825 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.0001245/0.3379, allocations: 129.8 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.3379, allocations: 7.953 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.3379, allocations: 8.375 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3379, allocations: 4 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3379, allocations: 3.984 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3379, allocations: 0 / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.3385, allocations: 349.4 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3385, allocations: 3.938 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.3385, allocations: 11.98 kB / 1.29 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3385, allocations: 0 / 1.29 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3386, allocations: 4 kB / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3386, allocations: 0 / 1.29 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.3386, allocations: 11.92 kB / 1.29 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.3389, allocations: 211.4 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.3389, allocations: 7.953 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.3389, allocations: 8.062 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.339, allocations: 15.92 kB / 1.29 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.3391, allocations: 3.938 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3391, allocations: 7.984 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.3392, allocations: 87.83 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3392, allocations: 0 / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002593/0.3394, allocations: 31.98 kB / 1.29 GB, free: 5.531 MB / 0.9825 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.0006905/0.3401, allocations: 0.7358 MB / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.3405, allocations: 171.8 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3405, allocations: 0 / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.3406, allocations: 39.91 kB / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.3409, allocations: 16.41 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.3432, allocations: 1.707 MB / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.3436, allocations: 0.6885 MB / 1.293 GB, free: 2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.3436, allocations: 4 kB / 1.293 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.3437, allocations: 23.42 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of SimCode: time 9.51e-07/0.3437, allocations: 0 / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.3767, allocations: 2.734 MB / 1.296 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.7, allocations: 11.81 kB / 1.296 GB, free: 15.39 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 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: 18.41458296601195] Failed to read output from testmodel.py, exit status != 0: 12.456261977029499 11.88496937 11.549302512 Calling exit ...