Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001904/0.001904, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002109/0.002109, allocations: 214.5 kB / 23.03 MB, free: 4.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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.257/3.257, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_12_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.003098/0.003098, allocations: 66.91 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3848, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002329/0.3872, allocations: 0.7383 MB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.389, allocations: 1.171 MB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.3891, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.3891, allocations: 11.86 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.3892, allocations: 7.938 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.3899, allocations: 139.6 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.3901, allocations: 119.8 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.736e-05/0.3902, allocations: 8 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.3903, allocations: 55.78 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.3904, allocations: 47.86 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.3904, allocations: 12 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.402e-05/0.3905, allocations: 20 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.3905, allocations: 15.92 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.062e-05/0.3906, allocations: 43.89 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.3908, allocations: 111.9 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3908, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3908, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3908, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 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.0006169/0.3915, allocations: 335.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3915, allocations: 8.031 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.637e-05/0.3915, allocations: 8.188 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.3915, allocations: 38.67 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.3916, allocations: 12.89 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.3917, allocations: 118.4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.3917, allocations: 8.375 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.3917, allocations: 8.375 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.392, allocations: 69.97 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.392, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.392, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.392, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.3922, allocations: 51.89 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.3928, allocations: 291.8 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.393, allocations: 50.61 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3931, allocations: 48.81 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.3931, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.3934, allocations: 83.36 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.3934, allocations: 4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004699/0.3938, allocations: 141.6 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3939, allocations: 51.41 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.394, allocations: 126.1 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.394, allocations: 33.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.3941, allocations: 88.14 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3941, allocations: 19.8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.3942, allocations: 45.69 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3943, allocations: 326.8 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3945, allocations: 81.66 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3947, allocations: 118 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.395, allocations: 141.9 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.395, allocations: 7.938 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004796/0.3955, allocations: 240.8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.3955, allocations: 33.7 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3955, allocations: 3.984 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3956, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.3956, allocations: 8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3957, allocations: 3.984 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.3959, allocations: 36.09 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.3959, allocations: 11.98 kB / 1.332 GB, free: 12.12 MB / 1.029 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.0001103/0.396, allocations: 127.5 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.396, allocations: 3.953 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.396, allocations: 12.38 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.396, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.396, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.396, allocations: 4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.3966, allocations: 349.4 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3966, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.3966, allocations: 15.98 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3966, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3966, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3966, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3966, allocations: 4.328 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.397, allocations: 215.4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.397, allocations: 3.953 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.397, allocations: 8 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.3971, allocations: 7.984 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.3971, allocations: 15.86 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.3971, allocations: 7.938 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.02e-05/0.3972, allocations: 95.42 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3972, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002623/0.3974, allocations: 20 kB / 1.332 GB, free: 11.18 MB / 1.029 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.0006653/0.3981, allocations: 0.7437 MB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.3985, allocations: 200.9 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3985, allocations: 0 / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.3987, allocations: 39.91 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3989, allocations: 16.38 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.4013, allocations: 1.816 MB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.534e-05/0.4014, allocations: 79.33 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.4014, allocations: 4 kB / 1.335 GB, free: 8.086 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.4014, allocations: 19.42 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.4014, allocations: 0 / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.4241, allocations: 2.867 MB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.91, allocations: 0 / 1.338 GB, free: 5.383 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.89138691604603] Failed to read output from testmodel.py, exit status != 0: 12.083185472991318 12.102351289 11.70822651 Calling exit ...