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.Discrete.Examples.TriggeredMax.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.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.56/2.56, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001366/0.001366, allocations: 192.7 kB / 329.5 MB, free: 1.145 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.538/2.538, allocations: 225.6 MB / 0.6001 GB, free: 3.688 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.001003/0.001003, allocations: 98.61 kB / 0.7074 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004985, allocations: 17.88 kB / 0.8242 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 109.1 MB / 0.9308 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001705/0.2179, allocations: 1.14 MB / 0.9319 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006033/0.2186, allocations: 248.1 kB / 0.9321 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.2186, allocations: 0 / 0.9321 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.2187, allocations: 3.984 kB / 0.9321 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.144e-05/0.2188, allocations: 7.938 kB / 0.9321 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.219, allocations: 27.91 kB / 0.9322 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.177e-05/0.2191, allocations: 51.84 kB / 0.9322 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.2192, allocations: 15.98 kB / 0.9322 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.2193, allocations: 19.88 kB / 0.9322 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.2193, allocations: 27.89 kB / 0.9323 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2194, allocations: 4 kB / 0.9323 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.2194, allocations: 0 / 0.9323 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.2194, allocations: 11.94 kB / 0.9323 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.2195, allocations: 33.69 kB / 0.9323 GB, free: 41.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.937e-05/0.2196, allocations: 35.92 kB / 0.9324 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2196, allocations: 0 / 0.9324 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2196, allocations: 4 kB / 0.9324 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2196, allocations: 0 / 0.9324 GB, free: 41.81 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006532/0.2203, allocations: 371.6 kB / 0.9327 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2203, allocations: 10.84 kB / 0.9327 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.2204, allocations: 4.938 kB / 0.9327 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2205, allocations: 188.1 kB / 0.9329 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.2205, allocations: 384 / 0.9329 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.2206, allocations: 4.375 kB / 0.9329 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.2208, allocations: 70.22 kB / 0.933 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2209, allocations: 4.125 kB / 0.933 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2209, allocations: 7.938 kB / 0.933 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2209, allocations: 4 kB / 0.933 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.2212, allocations: 55.95 kB / 0.933 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.2217, allocations: 288.8 kB / 0.9333 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.222, allocations: 62.55 kB / 0.9334 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2221, allocations: 40.97 kB / 0.9334 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.2222, allocations: 0 / 0.9334 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/0.2225, allocations: 91.27 kB / 0.9335 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.2225, allocations: 0 / 0.9335 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006563/0.2232, allocations: 145.6 kB / 0.9336 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2232, allocations: 55.41 kB / 0.9337 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.2233, allocations: 109.8 kB / 0.9338 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2234, allocations: 25.7 kB / 0.9338 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.2234, allocations: 92.05 kB / 0.9339 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.2234, allocations: 23.73 kB / 0.9339 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.2235, allocations: 4 kB / 0.9339 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.2235, allocations: 318.8 kB / 0.9342 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.2237, allocations: 31.97 kB / 0.9343 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.2239, allocations: 62.42 kB / 0.9343 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.2241, allocations: 35.97 kB / 0.9344 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.2241, allocations: 0 / 0.9344 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004023/0.2245, allocations: 117.6 kB / 0.9345 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2245, allocations: 4 kB / 0.9345 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2246, allocations: 0.625 kB / 0.9345 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.2246, allocations: 4 kB / 0.9345 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2248, allocations: 15.98 kB / 0.9345 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2248, allocations: 0 / 0.9345 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.225, allocations: 23.89 kB / 0.9345 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.225, allocations: 4 kB / 0.9345 GB, free: 39.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$PRE.triggeredMax.y,triggeredMax.y,$whenCondition1,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 (9): * Single equations (assignments): 9 * 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 9.267e-05/0.2251, allocations: 125.7 kB / 0.9347 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.2251, allocations: 0 / 0.9347 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.2256, allocations: 130 kB / 0.9348 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2256, allocations: 0 / 0.9348 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2256, allocations: 4 kB / 0.9348 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2256, allocations: 0 / 0.9348 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007016/0.2263, allocations: 394.3 kB / 0.9352 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2264, allocations: 0 / 0.9352 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.2265, allocations: 15.98 kB / 0.9352 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.2265, allocations: 0 / 0.9352 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2265, allocations: 0 / 0.9352 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2265, allocations: 4 kB / 0.9352 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2265, allocations: 0 / 0.9352 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.227, allocations: 215.4 kB / 0.9354 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.227, allocations: 92.94 kB / 0.9355 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.2271, allocations: 0 / 0.9355 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.2272, allocations: 19.98 kB / 0.9355 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.2273, allocations: 11.92 kB / 0.9355 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2273, allocations: 4 kB / 0.9355 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.403e-05/0.2274, allocations: 87.28 kB / 0.9356 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2274, allocations: 0 / 0.9356 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002936/0.2277, allocations: 11.98 kB / 0.9356 GB, free: 38.16 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (booPul.y,$whenCondition2,$whenCondition1,triggeredMax.y,booPul.pulseStart) * Number of discrete states: 1 (triggeredMax.y) * 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 (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.0001331/0.2279, allocations: 110.5 kB / 0.9357 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.2283, allocations: 75.89 kB / 0.9358 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2283, allocations: 0 / 0.9358 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2285, allocations: 48.03 kB / 0.9358 GB, free: 37.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.2289, allocations: 12.11 kB / 0.9358 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.2294, allocations: 174.2 kB / 0.936 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.2295, allocations: 0.6926 MB / 0.9367 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.931e-05/0.2296, allocations: 4 kB / 0.9367 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.2296, allocations: 11.44 kB / 0.9367 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/0.2296, allocations: 3.938 kB / 0.9367 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.003761/0.2334, allocations: 0.7403 MB / 0.9374 GB, free: 36.23 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)