Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 255.9 MB / 271.2 MB, free: 8.883 MB / 218.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.001052/0.001052, allocations: 189.8 kB / 330.8 MB, free: 460 kB / 250.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.899/1.899, allocations: 225.7 MB / 0.6016 GB, free: 1.672 MB / 426.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.0008102/0.0008103, allocations: 103.5 kB / 0.709 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003542, allocations: 16 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2404, allocations: 109.2 MB / 0.9328 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001677/0.2421, allocations: 1.12 MB / 0.9339 GB, free: 5.121 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004128/0.2425, allocations: 171.6 kB / 0.934 GB, free: 4.953 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.2426, allocations: 0 / 0.934 GB, free: 4.953 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.2426, allocations: 3.984 kB / 0.934 GB, free: 4.949 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.921e-05/0.2427, allocations: 7.938 kB / 0.934 GB, free: 4.941 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.2429, allocations: 4 kB / 0.934 GB, free: 4.938 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.803e-05/0.2429, allocations: 43.8 kB / 0.9341 GB, free: 4.895 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2431, allocations: 7.984 kB / 0.9341 GB, free: 4.887 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.013e-05/0.2432, allocations: 19.88 kB / 0.9341 GB, free: 4.867 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.2432, allocations: 11.92 kB / 0.9341 GB, free: 4.855 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2432, allocations: 7.984 kB / 0.9341 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-06/0.2433, allocations: 0 / 0.9341 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.2433, allocations: 4 kB / 0.9341 GB, free: 4.844 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.2433, allocations: 41.62 kB / 0.9342 GB, free: 4.797 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 7.567e-05/0.2434, allocations: 35.88 kB / 0.9342 GB, free: 4.762 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.2434, allocations: 0 / 0.9342 GB, free: 4.762 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2434, allocations: 0 / 0.9342 GB, free: 4.762 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2434, allocations: 3.938 kB / 0.9342 GB, free: 4.758 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004232/0.2439, allocations: 347.7 kB / 0.9345 GB, free: 4.367 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2439, allocations: 13.11 kB / 0.9346 GB, free: 4.355 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.2439, allocations: 8.938 kB / 0.9346 GB, free: 4.348 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.306e-05/0.244, allocations: 164.3 kB / 0.9347 GB, free: 4.148 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2441, allocations: 4.375 kB / 0.9347 GB, free: 4.145 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.2441, allocations: 384 / 0.9347 GB, free: 4.145 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.2443, allocations: 70.16 kB / 0.9348 GB, free: 4.07 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2443, allocations: 192 / 0.9348 GB, free: 4.07 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2443, allocations: 7.938 kB / 0.9348 GB, free: 4.062 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2443, allocations: 0 / 0.9348 GB, free: 4.062 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.2445, allocations: 47.97 kB / 0.9348 GB, free: 4.016 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.2448, allocations: 268.9 kB / 0.9351 GB, free: 3.703 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2449, allocations: 50.5 kB / 0.9352 GB, free: 3.645 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.245, allocations: 40.86 kB / 0.9352 GB, free: 3.602 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2451, allocations: 0 / 0.9352 GB, free: 3.602 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.2452, allocations: 67.39 kB / 0.9353 GB, free: 3.523 MB / 0.573 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2453, allocations: 0 / 0.9353 GB, free: 3.523 MB / 0.573 GB Notification: Performance of matching and sorting (n=4): time 0.000372/0.2456, allocations: 121.7 kB / 0.9354 GB, free: 3.398 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.2457, allocations: 51.41 kB / 0.9354 GB, free: 3.336 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.2457, allocations: 113.8 kB / 0.9355 GB, free: 3.215 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2458, allocations: 29.7 kB / 0.9356 GB, free: 3.18 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.2458, allocations: 84.14 kB / 0.9356 GB, free: 3.094 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.2458, allocations: 7.906 kB / 0.9356 GB, free: 3.086 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.2458, allocations: 0 / 0.9356 GB, free: 3.086 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.85e-05/0.2459, allocations: 318.8 kB / 0.9359 GB, free: 2.766 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.284e-05/0.246, allocations: 23.98 kB / 0.936 GB, free: 2.742 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.2461, allocations: 50.59 kB / 0.936 GB, free: 2.684 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.2462, allocations: 78.42 kB / 0.9361 GB, free: 2.598 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2463, allocations: 0 / 0.9361 GB, free: 2.598 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001913/0.2465, allocations: 101.5 kB / 0.9362 GB, free: 2.492 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2465, allocations: 15.84 kB / 0.9362 GB, free: 2.477 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2465, allocations: 0 / 0.9362 GB, free: 2.477 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2465, allocations: 0 / 0.9362 GB, free: 2.477 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.2466, allocations: 11.98 kB / 0.9362 GB, free: 2.465 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.2466, allocations: 7.938 kB / 0.9362 GB, free: 2.457 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.2467, allocations: 11.98 kB / 0.9362 GB, free: 2.445 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.2467, allocations: 8.031 kB / 0.9362 GB, free: 2.438 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.152e-05/0.2467, allocations: 114.4 kB / 0.9364 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-06/0.2468, allocations: 0 / 0.9364 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.2468, allocations: 7.906 kB / 0.9364 GB, free: 2.305 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2468, allocations: 4 kB / 0.9364 GB, free: 2.301 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2468, allocations: 0 / 0.9364 GB, free: 2.301 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2468, allocations: 0 / 0.9364 GB, free: 2.301 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.2471, allocations: 350.4 kB / 0.9367 GB, free: 1.902 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2472, allocations: 3.984 kB / 0.9367 GB, free: 1.898 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.2472, allocations: 8 kB / 0.9367 GB, free: 1.891 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2472, allocations: 0 / 0.9367 GB, free: 1.891 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.2472, allocations: 0 / 0.9367 GB, free: 1.891 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2472, allocations: 4 kB / 0.9367 GB, free: 1.887 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2472, allocations: 4 kB / 0.9367 GB, free: 1.883 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.2475, allocations: 191.4 kB / 0.9369 GB, free: 1.68 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.2475, allocations: 77.11 kB / 0.937 GB, free: 1.586 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.2475, allocations: 8 kB / 0.937 GB, free: 1.578 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.2476, allocations: 7.984 kB / 0.937 GB, free: 1.57 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.2476, allocations: 4 kB / 0.937 GB, free: 1.566 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.2477, allocations: 3.938 kB / 0.937 GB, free: 1.562 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.657e-05/0.2477, allocations: 87.27 kB / 0.9371 GB, free: 1.477 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2477, allocations: 0 / 0.9371 GB, free: 1.477 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001905/0.2479, allocations: 15.84 kB / 0.9371 GB, free: 1.461 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001104/0.248, allocations: 107.8 kB / 0.9372 GB, free: 1.344 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.2482, allocations: 63.89 kB / 0.9373 GB, free: 1.281 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2482, allocations: 0 / 0.9373 GB, free: 1.281 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.241e-05/0.2483, allocations: 36.16 kB / 0.9373 GB, free: 1.246 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.2486, allocations: 7.938 kB / 0.9373 GB, free: 1.238 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.2488, allocations: 132.6 kB / 0.9374 GB, free: 1.082 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.249, allocations: 0.6887 MB / 0.9381 GB, free: 376 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.249, allocations: 4 kB / 0.9381 GB, free: 372 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.249, allocations: 11.42 kB / 0.9381 GB, free: 360 kB / 0.573 GB Notification: Performance of SimCode: time 2.31e-07/0.249, allocations: 0 / 0.9381 GB, free: 360 kB / 0.573 GB Notification: Performance of Templates: time 0.002356/0.2514, allocations: 0.4978 MB / 0.9386 GB, free: 15.86 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)