Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001064/0.001064, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001407/0.001407, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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 0.9774/0.9774, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.995/1.995, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.000905/0.000905, allocations: 63.91 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.7446, allocations: 180 MB / 1.352 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001535/0.7461, allocations: 0.733 MB / 1.353 GB, free: 0.9375 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.7472, allocations: 1.159 MB / 1.354 GB, free: 15.77 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.7473, allocations: 0 / 1.354 GB, free: 15.77 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.7473, allocations: 3.938 kB / 1.354 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.7474, allocations: 19.88 kB / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.7478, allocations: 130.7 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.748, allocations: 119.8 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.7481, allocations: 11.98 kB / 1.355 GB, free: 15.49 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.7482, allocations: 39.92 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.7482, allocations: 47.8 kB / 1.355 GB, free: 15.4 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.7483, allocations: 12 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.512e-05/0.7483, allocations: 23.98 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.7483, allocations: 11.94 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.7484, allocations: 47.83 kB / 1.355 GB, free: 15.31 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.7486, allocations: 109.9 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7486, allocations: 3.938 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7486, allocations: 4 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.7486, allocations: 0 / 1.355 GB, free: 15.2 MB / 1.042 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.0004948/0.7491, allocations: 337.5 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.7491, allocations: 8.922 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.86e-05/0.7491, allocations: 38.73 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.7492, allocations: 12.89 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.112e-05/0.7492, allocations: 110.5 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.7493, allocations: 8.375 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.7493, allocations: 12.31 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.7494, allocations: 66.16 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.7494, allocations: 3.938 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.7494, allocations: 8 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.7494, allocations: 0 / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.819e-05/0.7495, allocations: 43.94 kB / 1.355 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.7499, allocations: 295.8 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.75, allocations: 58.55 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.7501, allocations: 28.97 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.7501, allocations: 3.984 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.7503, allocations: 83.36 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.7503, allocations: 4 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of matching and sorting (n=8): time 0.0002887/0.7506, allocations: 149.6 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.7506, allocations: 59.41 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.7508, allocations: 114.2 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.7508, allocations: 29.7 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.7509, allocations: 96.08 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.7509, allocations: 15.91 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/0.7509, allocations: 37.7 kB / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.751, allocations: 322.8 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.7511, allocations: 89.66 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.7513, allocations: 111.6 kB / 1.357 GB, free: 12.87 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.7514, allocations: 141.8 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7514, allocations: 0 / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002791/0.7517, allocations: 248.9 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.7517, allocations: 33.7 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7517, allocations: 4 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.7518, allocations: 0 / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.7518, allocations: 15.92 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.7518, allocations: 3.938 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.7519, allocations: 44.03 kB / 1.357 GB, free: 12.34 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.752, allocations: 8 kB / 1.357 GB, free: 12.34 MB / 1.042 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 7.74e-05/0.752, allocations: 126.2 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/0.752, allocations: 11.92 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.7521, allocations: 8.375 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.7521, allocations: 0 / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.7521, allocations: 4 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7521, allocations: 0 / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.7524, allocations: 345.5 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7524, allocations: 0 / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.7524, allocations: 12 kB / 1.358 GB, free: 11.78 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7524, allocations: 0 / 1.358 GB, free: 11.78 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.7524, allocations: 3.984 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7524, allocations: 4.062 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7524, allocations: 3.938 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.7526, allocations: 211.4 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.7526, allocations: 11.95 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.7526, allocations: 4 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.7527, allocations: 7.984 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.7527, allocations: 11.92 kB / 1.358 GB, free: 11.51 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.7527, allocations: 4 kB / 1.358 GB, free: 11.5 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.7528, allocations: 99.42 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7528, allocations: 0 / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001774/0.753, allocations: 20 kB / 1.358 GB, free: 11.39 MB / 1.042 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.0004008/0.7534, allocations: 0.7402 MB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.7536, allocations: 201 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.7536, allocations: 4 kB / 1.359 GB, free: 10.4 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.431e-05/0.7537, allocations: 35.98 kB / 1.359 GB, free: 10.37 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.7539, allocations: 16.17 kB / 1.359 GB, free: 10.35 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.7553, allocations: 1.81 MB / 1.361 GB, free: 8.402 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.7554, allocations: 79.19 kB / 1.361 GB, free: 8.305 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.7554, allocations: 15.64 kB / 1.361 GB, free: 8.289 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.7554, allocations: 23.42 kB / 1.361 GB, free: 8.266 MB / 1.042 GB Notification: Performance of SimCode: time 5.21e-07/0.7554, allocations: 0 / 1.361 GB, free: 8.266 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08251/0.8379, allocations: 3.259 MB / 1.364 GB, free: 5.18 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/8.172, allocations: 12.88 kB / 1.364 GB, free: 5.172 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.091824244707823]