Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") 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.808/1.808, allocations: 297.4 MB / 312.6 MB, free: 2.906 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.0009979/0.0009979, allocations: 186 kB / 382.3 MB, free: 14.81 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.565/1.565, allocations: 225.7 MB / 0.6617 GB, free: 7.145 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.0008057/0.0008059, allocations: 95.97 kB / 0.7789 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004773, allocations: 16 kB / 0.9059 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8128, allocations: 119.2 MB / 1.022 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001382/0.8142, allocations: 471.4 kB / 1.023 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.8162, allocations: 1.126 MB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.8163, allocations: 1.031 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.8164, allocations: 8.062 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.899e-05/0.8165, allocations: 12.62 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.8168, allocations: 47.23 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.817, allocations: 67.39 kB / 1.024 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.8172, allocations: 26.62 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/0.8173, allocations: 22.83 kB / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.8174, allocations: 30.39 kB / 1.024 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.8174, allocations: 7.094 kB / 1.024 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.8175, allocations: 15.39 kB / 1.024 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.8175, allocations: 5.328 kB / 1.024 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.8176, allocations: 58.2 kB / 1.024 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.8178, allocations: 69.11 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8178, allocations: 0 / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8178, allocations: 1.375 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8178, allocations: 0 / 1.024 GB, free: 56.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006165/0.8185, allocations: 376.2 kB / 1.025 GB, free: 56.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.8185, allocations: 8.5 kB / 1.025 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.8186, allocations: 7.781 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.8187, allocations: 180.1 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.8187, allocations: 3.5 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.8188, allocations: 5.188 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.8191, allocations: 72.61 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.8191, allocations: 3.938 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.8191, allocations: 5.375 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.8191, allocations: 3.531 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.8194, allocations: 57.3 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.8202, allocations: 327.9 kB / 1.025 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.8205, allocations: 65.91 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.8207, allocations: 36.86 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.8207, allocations: 1.531 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.821, allocations: 81.12 kB / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.821, allocations: 0 / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006145/0.8216, allocations: 149.9 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.8217, allocations: 55.72 kB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.8218, allocations: 125.8 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.8218, allocations: 26.83 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.8219, allocations: 93.67 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.8219, allocations: 26.02 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.822, allocations: 0 / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.822, allocations: 325.7 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.8222, allocations: 31.89 kB / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.8224, allocations: 80.98 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.8228, allocations: 118.7 kB / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.8228, allocations: 5.719 kB / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004733/0.8233, allocations: 139.5 kB / 1.027 GB, free: 54.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.8234, allocations: 10.06 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.8234, allocations: 7.5 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.8234, allocations: 2.438 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.8236, allocations: 22.69 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.8236, allocations: 3.578 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.8238, allocations: 18.83 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.8238, allocations: 6.188 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001037/0.8239, allocations: 124.7 kB / 1.027 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.824, allocations: 8.609 kB / 1.027 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.824, allocations: 9.5 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.824, allocations: 0 / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.824, allocations: 3.516 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.824, allocations: 3.938 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.8247, allocations: 385 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8247, allocations: 0 / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.8248, allocations: 11.33 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.8248, allocations: 0 / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.8248, allocations: 2.312 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.8248, allocations: 5.344 kB / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8248, allocations: 0 / 1.027 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.8252, allocations: 220 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.8253, allocations: 82.84 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.8253, allocations: 5.891 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.8255, allocations: 16.97 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.8256, allocations: 6.266 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.8256, allocations: 1.531 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.8256, allocations: 92.25 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8257, allocations: 0 / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004321/0.8261, allocations: 17.06 kB / 1.028 GB, free: 54.11 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001927/0.8263, allocations: 110.1 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003954/0.8267, allocations: 91.28 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.8267, allocations: 0 / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.8269, allocations: 46.09 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.8274, allocations: 17.7 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.8278, allocations: 166.3 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.828, allocations: 0.6991 MB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.77e-05/0.8281, allocations: 6.906 kB / 1.029 GB, free: 53.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.8281, allocations: 8.5 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.8281, allocations: 0 / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of Templates: time 0.00455/0.8327, allocations: 0.8691 MB / 1.029 GB, free: 53.04 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)