Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.848/1.848, allocations: 297.4 MB / 312.6 MB, free: 2.977 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009491/0.0009492, allocations: 184.2 kB / 382.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.701/1.701, allocations: 225.7 MB / 0.6617 GB, free: 7.254 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008027/0.0008026, allocations: 89.42 kB / 0.7789 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004063, allocations: 12.88 kB / 0.9059 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8804/0.8808, allocations: 119.2 MB / 1.022 GB, free: 57.92 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001229/0.8821, allocations: 478.8 kB / 1.023 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002141/0.8843, allocations: 1.291 MB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.8844, allocations: 1.219 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.8844, allocations: 1.281 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.8845, allocations: 12.3 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.8851, allocations: 125.9 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.8853, allocations: 99.81 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.8855, allocations: 14.98 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.8856, allocations: 48.86 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.8857, allocations: 36.95 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.8858, allocations: 6.031 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.8859, allocations: 20.84 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.8859, allocations: 9.109 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.886, allocations: 68.72 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.8863, allocations: 102.3 kB / 1.025 GB, free: 56.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.8863, allocations: 0 / 1.025 GB, free: 56.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8864, allocations: 1.375 kB / 1.025 GB, free: 56.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8864, allocations: 2.844 kB / 1.025 GB, free: 56.76 MB / 0.698 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.000692/0.8871, allocations: 399.2 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.8871, allocations: 9.625 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.8872, allocations: 7.469 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.8873, allocations: 173.4 kB / 1.025 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.8873, allocations: 13.58 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.8874, allocations: 12.36 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.8876, allocations: 74.22 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8876, allocations: 192 / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.8877, allocations: 3.938 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8877, allocations: 1.953 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.8879, allocations: 56.81 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.8885, allocations: 342.8 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.8887, allocations: 64.75 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.8888, allocations: 40.44 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.8888, allocations: 2.188 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.8892, allocations: 93.8 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.8892, allocations: 3.938 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0005217/0.8897, allocations: 161.4 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.8898, allocations: 53.94 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.8899, allocations: 120.9 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.8899, allocations: 28.09 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.89, allocations: 89.81 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.89, allocations: 31.86 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.89, allocations: 6.094 kB / 1.026 GB, free: 55.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.8901, allocations: 323.4 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.8903, allocations: 58.02 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.8906, allocations: 92.98 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.8909, allocations: 154.6 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8909, allocations: 0 / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004459/0.8913, allocations: 211.3 kB / 1.027 GB, free: 54.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.8914, allocations: 34.47 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8914, allocations: 7.469 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.8914, allocations: 2.812 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/0.8915, allocations: 15.25 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.8915, allocations: 2.422 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.8918, allocations: 54.83 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.8918, allocations: 10.39 kB / 1.027 GB, free: 54.65 MB / 0.698 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 9.491e-05/0.8919, allocations: 125 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.8919, allocations: 7.375 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.892, allocations: 9.453 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.892, allocations: 1.125 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.892, allocations: 0 / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.892, allocations: 5.188 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.8925, allocations: 394.6 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.8925, allocations: 0 / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.8926, allocations: 15.16 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.8926, allocations: 5.312 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.8926, allocations: 2.516 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.8926, allocations: 6.062 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8926, allocations: 0 / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.8929, allocations: 222.4 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.893, allocations: 81.02 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.893, allocations: 7.5 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.8931, allocations: 10.27 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.8932, allocations: 13.39 kB / 1.028 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.8932, allocations: 2.188 kB / 1.028 GB, free: 53.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.8932, allocations: 96.16 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8932, allocations: 0 / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002602/0.8935, allocations: 26.38 kB / 1.028 GB, free: 53.82 MB / 0.698 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.0001832/0.8937, allocations: 108.2 kB / 1.028 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.8941, allocations: 190.7 kB / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8941, allocations: 3.938 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.8942, allocations: 42.5 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.8945, allocations: 13.52 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.8949, allocations: 179.7 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.895, allocations: 0.6916 MB / 1.029 GB, free: 52.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.178e-05/0.8951, allocations: 6.391 kB / 1.029 GB, free: 52.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.8951, allocations: 11.12 kB / 1.029 GB, free: 52.76 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/0.8951, allocations: 4 kB / 1.029 GB, free: 52.75 MB / 0.698 GB Notification: Performance of Templates: time 0.00475/0.8999, allocations: 1.32 MB / 1.031 GB, free: 52.65 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)