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.0008415/0.0008415, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0008089/0.0008089, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9345/0.9345, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.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: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 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 3.366e-06/3.366e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.741e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002109/0.002136, allocations: 0.7396 MB / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.003903, allocations: 1.171 MB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.003965, allocations: 0 / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.003998, allocations: 3.938 kB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.004099, allocations: 15.86 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.00469, allocations: 130.9 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.004903, allocations: 123.7 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.005019, allocations: 15.92 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.00517, allocations: 63.89 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.005279, allocations: 35.94 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.005309, allocations: 8 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.537e-05/0.005384, allocations: 27.92 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.005412, allocations: 7.984 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/0.005482, allocations: 35.91 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.00572, allocations: 143.6 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.005723, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.893e-06/0.005725, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.005731, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 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.0006193/0.00635, allocations: 335.8 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.006392, allocations: 9.344 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.006431, allocations: 46.72 kB / 1.004 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.00647, allocations: 8.891 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.135e-05/0.006561, allocations: 109.8 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.006573, allocations: 4.375 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.00659, allocations: 12.38 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.006749, allocations: 66.22 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.006758, allocations: 4.125 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.006767, allocations: 4.375 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.006773, allocations: 8.062 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.006876, allocations: 43.95 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.007288, allocations: 275.9 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.007421, allocations: 62.55 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.007477, allocations: 36.89 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-06/0.007485, allocations: 0 / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.007684, allocations: 91.31 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.007686, allocations: 0 / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002956/0.007981, allocations: 137.6 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.008017, allocations: 59.41 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.008095, allocations: 121.7 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.008112, allocations: 29.7 kB / 1.005 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.008165, allocations: 96.19 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.008182, allocations: 19.86 kB / 1.005 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.008238, allocations: 45.62 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.266e-05/0.00832, allocations: 314.8 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.008448, allocations: 89.66 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.008569, allocations: 114 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.008732, allocations: 137.9 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.008735, allocations: 4 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002884/0.009023, allocations: 252.9 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.00906, allocations: 29.7 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.009067, allocations: 4 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.00908, allocations: 0 / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.009146, allocations: 11.98 kB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.009152, allocations: 7.938 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.00927, allocations: 39.91 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.009284, allocations: 4.062 kB / 1.006 GB, free: 8.137 MB / 0.9636 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.944e-05/0.009363, allocations: 124.5 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.009377, allocations: 19.88 kB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.0094, allocations: 4.438 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.009403, allocations: 4 kB / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.009408, allocations: 0 / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.009412, allocations: 0 / 1.006 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.009746, allocations: 345.8 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.009749, allocations: 8 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.00978, allocations: 8 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.009782, allocations: 0 / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.00979, allocations: 3.984 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.009793, allocations: 4 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009794, allocations: 0 / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.009978, allocations: 215.4 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.009995, allocations: 11.89 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.01001, allocations: 4 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.01006, allocations: 11.98 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.0101, allocations: 11.97 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.01011, allocations: 7.938 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.01015, allocations: 91.27 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01015, allocations: 0 / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001961/0.01035, allocations: 24 kB / 1.007 GB, free: 7.184 MB / 0.9636 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.0004519/0.0108, allocations: 0.7469 MB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.01109, allocations: 197 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.0111, allocations: 0 / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/0.01116, allocations: 35.97 kB / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.01138, allocations: 12.86 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.01302, allocations: 1.815 MB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.298e-05/0.01308, allocations: 75.33 kB / 1.009 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.529e-05/0.01311, allocations: 7.859 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.01315, allocations: 28.48 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of SimCode: time 8.21e-07/0.01316, allocations: 0 / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08567/0.09882, allocations: 3.378 MB / 1.013 GB, free: 0.8594 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/7.464, allocations: 10.81 kB / 1.013 GB, free: 0.8516 MB / 0.9636 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: 12.233310546725988]