Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") 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.979/1.979, allocations: 297.4 MB / 312.6 MB, free: 2.941 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.002007/0.002007, allocations: 185.2 kB / 382.3 MB, free: 14.83 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.568/1.568, allocations: 225.7 MB / 0.6617 GB, free: 7.227 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.0008905/0.0008905, allocations: 98.34 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004184, allocations: 8.781 kB / 0.9058 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7842/0.7847, allocations: 119.2 MB / 1.022 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.0009475/0.7857, allocations: 470.6 kB / 1.023 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.7872, allocations: 1.309 MB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.7873, allocations: 1.125 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.7873, allocations: 7.266 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.7874, allocations: 5.75 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.7878, allocations: 130 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.788, allocations: 112.2 kB / 1.024 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.7881, allocations: 18.67 kB / 1.024 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.7882, allocations: 40.39 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.7883, allocations: 38.81 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.7883, allocations: 6.469 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.7884, allocations: 21.7 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.7884, allocations: 8.469 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.102e-05/0.7885, allocations: 68.86 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.7887, allocations: 114.9 kB / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7887, allocations: 0 / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7887, allocations: 0 / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.7887, allocations: 1.25 kB / 1.025 GB, free: 56.86 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004938/0.7892, allocations: 403.5 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.7893, allocations: 7.312 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.7893, allocations: 11.92 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.7894, allocations: 174.2 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.7895, allocations: 4.641 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.7895, allocations: 14.12 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.7897, allocations: 74.2 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.7897, allocations: 4.453 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.7897, allocations: 7.516 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.7897, allocations: 0 / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.7899, allocations: 62.03 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.7904, allocations: 344.9 kB / 1.026 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.7906, allocations: 66.75 kB / 1.026 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.7907, allocations: 41.33 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.7907, allocations: 1.312 kB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.791, allocations: 92.36 kB / 1.026 GB, free: 55.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.791, allocations: 3.938 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.000456/0.7914, allocations: 168.5 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.7915, allocations: 54.7 kB / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.7916, allocations: 121.5 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.7916, allocations: 38.52 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.7916, allocations: 100.7 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.7917, allocations: 18.12 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.7917, allocations: 1.375 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.7917, allocations: 328.4 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.7919, allocations: 53.05 kB / 1.027 GB, free: 55.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.7921, allocations: 96.92 kB / 1.027 GB, free: 54.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.7924, allocations: 161.7 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7924, allocations: 0 / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003942/0.7928, allocations: 225.6 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.7928, allocations: 47.88 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.7928, allocations: 0 / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.7928, allocations: 7.031 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.7929, allocations: 16.41 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.793, allocations: 0 / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.7932, allocations: 56.44 kB / 1.027 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.7932, allocations: 9.281 kB / 1.027 GB, free: 54.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * 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.335e-05/0.7933, allocations: 132.1 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.7933, allocations: 7.328 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.7936, allocations: 132.7 kB / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.7936, allocations: 1.188 kB / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7936, allocations: 1.031 kB / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7936, allocations: 0 / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.794, allocations: 393.9 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.794, allocations: 0 / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.7941, allocations: 12.53 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7941, allocations: 1.219 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.7941, allocations: 1.125 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7941, allocations: 4 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7941, allocations: 5.094 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.7944, allocations: 222.8 kB / 1.028 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.7944, allocations: 85.59 kB / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.7944, allocations: 1.156 kB / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.7945, allocations: 24.36 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.7946, allocations: 10.5 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.7946, allocations: 2.656 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.7946, allocations: 91.03 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7946, allocations: 0 / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002351/0.7949, allocations: 32.34 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001296/0.795, allocations: 113.5 kB / 1.028 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.7954, allocations: 184.9 kB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7954, allocations: 320 / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.7955, allocations: 52.72 kB / 1.029 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.0002623/0.7958, allocations: 16.97 kB / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.7962, allocations: 191.7 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.7963, allocations: 0.6928 MB / 1.03 GB, free: 52.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.102e-05/0.7963, allocations: 3.938 kB / 1.03 GB, free: 52.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.7964, allocations: 13.19 kB / 1.03 GB, free: 52.75 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/0.7964, allocations: 0 / 1.03 GB, free: 52.75 MB / 0.698 GB Notification: Performance of Templates: time 0.003837/0.8002, allocations: 1.31 MB / 1.031 GB, free: 52.65 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)