Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_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.1/package.mo): time 2.337/2.337, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.002127/0.002127, allocations: 194.1 kB / 329.5 MB, free: 1.156 MB / 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 2.749/2.749, allocations: 225.6 MB / 0.6001 GB, free: 464 kB / 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.001033/0.001033, allocations: 91.52 kB / 0.7074 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.000492, allocations: 11.75 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2342, allocations: 109.1 MB / 0.9308 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002374/0.2366, allocations: 1.104 MB / 0.9319 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000621/0.2373, allocations: 179.6 kB / 0.932 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.2374, allocations: 0 / 0.932 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.2375, allocations: 11.86 kB / 0.9321 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.581e-05/0.2376, allocations: 3.938 kB / 0.9321 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.2378, allocations: 8 kB / 0.9321 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.527e-05/0.2379, allocations: 27.92 kB / 0.9321 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.238, allocations: 15.98 kB / 0.9321 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.2381, allocations: 7.938 kB / 0.9321 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/0.2382, allocations: 23.84 kB / 0.9321 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.2382, allocations: 4 kB / 0.9321 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.2383, allocations: 0 / 0.9321 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.2383, allocations: 7.984 kB / 0.9321 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.2383, allocations: 33.64 kB / 0.9322 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.097e-05/0.2384, allocations: 23.95 kB / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2385, allocations: 0 / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2385, allocations: 0 / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2385, allocations: 8 kB / 0.9322 GB, free: 23.41 MB / 0.5886 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.000637/0.2392, allocations: 345.7 kB / 0.9325 GB, free: 23.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.2392, allocations: 12.03 kB / 0.9326 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.2393, allocations: 0.9375 kB / 0.9326 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2394, allocations: 172.4 kB / 0.9327 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.2395, allocations: 384 / 0.9327 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.2395, allocations: 4.375 kB / 0.9327 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.2399, allocations: 58.23 kB / 0.9328 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2399, allocations: 8.125 kB / 0.9328 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.2399, allocations: 7.938 kB / 0.9328 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.24, allocations: 0 / 0.9328 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.2404, allocations: 47.95 kB / 0.9328 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.241, allocations: 268.8 kB / 0.9331 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.2413, allocations: 58.48 kB / 0.9332 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.2416, allocations: 24.94 kB / 0.9332 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2416, allocations: 3.938 kB / 0.9332 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003559/0.242, allocations: 79.38 kB / 0.9333 GB, free: 22.17 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 4.127e-06/0.242, allocations: 0 / 0.9333 GB, free: 22.17 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0008184/0.2428, allocations: 109.6 kB / 0.9334 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.2429, allocations: 63.39 kB / 0.9334 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2431, allocations: 105.8 kB / 0.9335 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2431, allocations: 33.58 kB / 0.9336 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.2432, allocations: 92.03 kB / 0.9336 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.2432, allocations: 7.906 kB / 0.9336 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.2432, allocations: 4 kB / 0.9337 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.2433, allocations: 310.8 kB / 0.9339 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.2435, allocations: 31.97 kB / 0.934 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.2438, allocations: 42.56 kB / 0.934 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.2441, allocations: 31.92 kB / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2441, allocations: 0 / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000542/0.2446, allocations: 89.59 kB / 0.9341 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.2447, allocations: 8.094 kB / 0.9341 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2447, allocations: 4 kB / 0.9341 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.2448, allocations: 0 / 0.9341 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.245, allocations: 20.11 kB / 0.9342 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.245, allocations: 0 / 0.9342 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.2451, allocations: 11.98 kB / 0.9342 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.2452, allocations: 4.312 kB / 0.9342 GB, free: 21.16 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.2453, allocations: 126.2 kB / 0.9343 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.2453, allocations: 3.906 kB / 0.9343 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.2454, allocations: 11.91 kB / 0.9343 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2454, allocations: 0 / 0.9343 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.2454, allocations: 3.984 kB / 0.9343 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2455, allocations: 0 / 0.9343 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008256/0.2463, allocations: 338.5 kB / 0.9346 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2464, allocations: 0 / 0.9346 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.2465, allocations: 11.94 kB / 0.9347 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.2465, allocations: 0 / 0.9347 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.2466, allocations: 11.98 kB / 0.9347 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2466, allocations: 0 / 0.9347 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2466, allocations: 0 / 0.9347 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/0.2472, allocations: 187.4 kB / 0.9348 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.2472, allocations: 81.11 kB / 0.9349 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.2473, allocations: 4 kB / 0.9349 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.2475, allocations: 11.98 kB / 0.9349 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.822e-05/0.2476, allocations: 7.984 kB / 0.9349 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.2476, allocations: 7.875 kB / 0.935 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.495e-05/0.2477, allocations: 91.27 kB / 0.935 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.21e-07/0.2477, allocations: 0 / 0.935 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005335/0.2483, allocations: 7.938 kB / 0.935 GB, free: 20.17 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.2485, allocations: 107.3 kB / 0.9352 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005564/0.2491, allocations: 59.95 kB / 0.9352 GB, free: 19.99 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2491, allocations: 4 kB / 0.9352 GB, free: 19.99 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.2494, allocations: 36.09 kB / 0.9352 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.2499, allocations: 4 kB / 0.9352 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.2504, allocations: 134.6 kB / 0.9354 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.2506, allocations: 0.6848 MB / 0.936 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.439e-05/0.2507, allocations: 4 kB / 0.9361 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.2507, allocations: 11.44 kB / 0.9361 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of SimCode: time 1.734e-06/0.2507, allocations: 3.938 kB / 0.9361 GB, free: 19.06 MB / 0.5886 GB Notification: Performance of Templates: time 0.004609/0.2554, allocations: 486.4 kB / 0.9365 GB, free: 18.59 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)