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.001375/0.001375, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00185/0.00185, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.802/2.802, allocations: 476.8 MB / 0.7715 GB, free: 3.922 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.002044/0.002044, allocations: 62.92 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 170 MB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002221/0.3358, allocations: 0.7298 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.3375, allocations: 1.168 MB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.3375, allocations: 0 / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.3376, allocations: 11.92 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.3377, allocations: 11.86 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.3382, allocations: 137.5 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.3384, allocations: 111.8 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3385, allocations: 9.406 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3386, allocations: 63.83 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3387, allocations: 47.88 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.3388, allocations: 8 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.86e-05/0.3388, allocations: 16 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.3389, allocations: 23.84 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.592e-05/0.3389, allocations: 39.91 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.3391, allocations: 115.1 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3391, allocations: 0 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3391, allocations: 0 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.3392, allocations: 0 / 1.287 GB, free: 8.258 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.000645/0.3398, allocations: 342 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3398, allocations: 12.03 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.423e-05/0.3399, allocations: 192 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.3399, allocations: 38.73 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.3399, allocations: 12.83 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.3401, allocations: 122.4 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3401, allocations: 4.375 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.3401, allocations: 8.375 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.3403, allocations: 73.89 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3403, allocations: 4 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3403, allocations: 8 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3404, allocations: 0 / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.3405, allocations: 39.95 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.3411, allocations: 279.9 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.3412, allocations: 62.55 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3413, allocations: 32.95 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.3414, allocations: 0 / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.3416, allocations: 95.38 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.3416, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004388/0.3421, allocations: 141.6 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3421, allocations: 51.41 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3422, allocations: 125.8 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.3422, allocations: 29.7 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.3423, allocations: 88.14 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.3423, allocations: 27.78 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/0.3424, allocations: 41.69 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3426, allocations: 322.8 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.3427, allocations: 81.66 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.343, allocations: 121.3 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.3432, allocations: 145.8 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3432, allocations: 4 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004738/0.3437, allocations: 236.8 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.3438, allocations: 37.7 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3438, allocations: 4.125 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3438, allocations: 4.047 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.3439, allocations: 15.94 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3439, allocations: 7.938 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.3441, allocations: 31.95 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.3441, allocations: 12 kB / 1.289 GB, free: 5.383 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.000127/0.3442, allocations: 121.8 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.3443, allocations: 11.95 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.3443, allocations: 12.38 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3443, allocations: 0 / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3443, allocations: 0 / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3443, allocations: 0 / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.3448, allocations: 349.4 kB / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3448, allocations: 0 / 1.29 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.3448, allocations: 7.984 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3448, allocations: 0 / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3449, allocations: 8 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3449, allocations: 0 / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3449, allocations: 3.938 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.3452, allocations: 215.8 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.3452, allocations: 7.938 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3452, allocations: 4 kB / 1.29 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.3453, allocations: 3.984 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.3453, allocations: 15.92 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.3453, allocations: 4 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.3454, allocations: 95.27 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3454, allocations: 0 / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002588/0.3457, allocations: 24 kB / 1.29 GB, free: 4.438 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.0006572/0.3463, allocations: 0.7553 MB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.3467, allocations: 189.1 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3467, allocations: 0 / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3468, allocations: 39.97 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.3471, allocations: 14.28 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.3494, allocations: 1.821 MB / 1.293 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.676e-05/0.3495, allocations: 79.27 kB / 1.293 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.369e-05/0.3495, allocations: 0 / 1.293 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.3496, allocations: 27.36 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3496, allocations: 4 kB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.373, allocations: 2.861 MB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.88, allocations: 8.922 kB / 1.296 GB, free: 14.63 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.647563998936675] Failed to read output from testmodel.py, exit status != 0: 12.608037965954281 12.073814502 11.73016191 Calling exit ...