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.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") 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.46/1.46, allocations: 255.9 MB / 271.2 MB, free: 8.891 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.00101/0.001011, allocations: 190.8 kB / 330.8 MB, free: 464 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.866/1.866, allocations: 225.7 MB / 0.6016 GB, free: 1.543 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.001211/0.001211, allocations: 87.64 kB / 0.709 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004927, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2268, allocations: 109.2 MB / 0.9328 GB, free: 6.219 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.002001/0.2289, allocations: 1.178 MB / 0.9339 GB, free: 5.027 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.000615/0.2296, allocations: 215.4 kB / 0.9341 GB, free: 4.816 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.2297, allocations: 4 kB / 0.9341 GB, free: 4.812 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.2297, allocations: 3.938 kB / 0.9341 GB, free: 4.809 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.2298, allocations: 15.91 kB / 0.9341 GB, free: 4.793 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.2301, allocations: 23.98 kB / 0.9342 GB, free: 4.77 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.2302, allocations: 63.78 kB / 0.9342 GB, free: 4.707 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.2303, allocations: 24.16 kB / 0.9342 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.743e-05/0.2304, allocations: 19.88 kB / 0.9343 GB, free: 4.66 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.2305, allocations: 27.83 kB / 0.9343 GB, free: 4.633 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.2306, allocations: 4 kB / 0.9343 GB, free: 4.629 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.2306, allocations: 8 kB / 0.9343 GB, free: 4.621 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.2306, allocations: 7.984 kB / 0.9343 GB, free: 4.613 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.2307, allocations: 49.52 kB / 0.9344 GB, free: 4.559 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.2308, allocations: 55.81 kB / 0.9344 GB, free: 4.504 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2308, allocations: 0 / 0.9344 GB, free: 4.504 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.128e-06/0.2308, allocations: 3.984 kB / 0.9344 GB, free: 4.5 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2308, allocations: 0 / 0.9344 GB, free: 4.5 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006794/0.2315, allocations: 383.6 kB / 0.9348 GB, free: 4.078 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.2316, allocations: 11.98 kB / 0.9348 GB, free: 4.066 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.2317, allocations: 12.84 kB / 0.9348 GB, free: 4.055 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.2319, allocations: 180.2 kB / 0.935 GB, free: 3.84 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2319, allocations: 4.375 kB / 0.935 GB, free: 3.836 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.2319, allocations: 4.375 kB / 0.935 GB, free: 3.832 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.2322, allocations: 82.22 kB / 0.9351 GB, free: 3.746 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.2322, allocations: 3.938 kB / 0.9351 GB, free: 3.742 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.2322, allocations: 0 / 0.9351 GB, free: 3.742 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2322, allocations: 0 / 0.9351 GB, free: 3.742 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.2325, allocations: 63.95 kB / 0.9351 GB, free: 3.68 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006208/0.2331, allocations: 316.6 kB / 0.9354 GB, free: 3.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.2333, allocations: 74.55 kB / 0.9355 GB, free: 3.238 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2334, allocations: 44.91 kB / 0.9355 GB, free: 3.191 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.2334, allocations: 0 / 0.9355 GB, free: 3.191 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.2337, allocations: 91.36 kB / 0.9356 GB, free: 3.09 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 2.325e-06/0.2337, allocations: 3.938 kB / 0.9356 GB, free: 3.086 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.0004711/0.2342, allocations: 153.5 kB / 0.9358 GB, free: 2.93 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.2342, allocations: 59.41 kB / 0.9358 GB, free: 2.859 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2344, allocations: 117.9 kB / 0.936 GB, free: 2.734 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.2344, allocations: 29.7 kB / 0.936 GB, free: 2.699 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.2344, allocations: 92.03 kB / 0.9361 GB, free: 2.605 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.2345, allocations: 19.75 kB / 0.9361 GB, free: 2.586 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.2345, allocations: 4 kB / 0.9361 GB, free: 2.582 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.2346, allocations: 322.8 kB / 0.9364 GB, free: 2.258 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.2347, allocations: 39.97 kB / 0.9364 GB, free: 2.219 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.2348, allocations: 64.22 kB / 0.9365 GB, free: 2.141 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.2351, allocations: 104.2 kB / 0.9366 GB, free: 2.023 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2351, allocations: 0 / 0.9366 GB, free: 2.023 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002787/0.2354, allocations: 129.5 kB / 0.9367 GB, free: 1.891 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.2354, allocations: 11.91 kB / 0.9367 GB, free: 1.879 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2354, allocations: 0 / 0.9367 GB, free: 1.879 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.2355, allocations: 0 / 0.9367 GB, free: 1.879 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2356, allocations: 28.05 kB / 0.9368 GB, free: 1.852 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2356, allocations: 0 / 0.9368 GB, free: 1.852 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.907e-05/0.2357, allocations: 19.98 kB / 0.9368 GB, free: 1.832 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.2357, allocations: 7.938 kB / 0.9368 GB, free: 1.824 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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.0001096/0.2358, allocations: 126.5 kB / 0.9369 GB, free: 1.691 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.2359, allocations: 7.906 kB / 0.9369 GB, free: 1.684 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.2362, allocations: 133.9 kB / 0.937 GB, free: 1.547 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2362, allocations: 0 / 0.937 GB, free: 1.547 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2362, allocations: 0 / 0.937 GB, free: 1.547 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2362, allocations: 3.984 kB / 0.937 GB, free: 1.543 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.2367, allocations: 402.4 kB / 0.9374 GB, free: 1.094 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2367, allocations: 3.984 kB / 0.9374 GB, free: 1.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.2368, allocations: 16.38 kB / 0.9374 GB, free: 1.074 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2368, allocations: 0 / 0.9374 GB, free: 1.074 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.2368, allocations: 0 / 0.9374 GB, free: 1.074 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.2368, allocations: 7.922 kB / 0.9375 GB, free: 1.066 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2368, allocations: 7.875 kB / 0.9375 GB, free: 1.059 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.2371, allocations: 219.4 kB / 0.9377 GB, free: 0.8281 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.2371, allocations: 88.95 kB / 0.9378 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2371, allocations: 7.938 kB / 0.9378 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2373, allocations: 23.92 kB / 0.9378 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.2373, allocations: 7.984 kB / 0.9378 GB, free: 0.6836 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2373, allocations: 4 kB / 0.9378 GB, free: 0.6797 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.051e-05/0.2374, allocations: 91.27 kB / 0.9379 GB, free: 0.5898 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2374, allocations: 0 / 0.9379 GB, free: 0.5898 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002273/0.2376, allocations: 16 kB / 0.9379 GB, free: 0.5742 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: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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.0001319/0.2378, allocations: 103.8 kB / 0.938 GB, free: 476 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.238, allocations: 91.88 kB / 0.9381 GB, free: 384 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2381, allocations: 0 / 0.9381 GB, free: 384 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.2382, allocations: 43.92 kB / 0.9381 GB, free: 340 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.2385, allocations: 16.23 kB / 0.9381 GB, free: 324 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.239, allocations: 191.5 kB / 0.9383 GB, free: 100 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.2393, allocations: 0.6926 MB / 0.939 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.2394, allocations: 4 kB / 0.939 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.2394, allocations: 11.44 kB / 0.939 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of SimCode: time 1.202e-06/0.2394, allocations: 0 / 0.939 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of Templates: time 0.003704/0.2431, allocations: 0.8064 MB / 0.9398 GB, free: 14.57 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)