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.TriggeredMax.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.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") 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.401/1.401, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.001059/0.001059, allocations: 186.2 kB / 330.8 MB, free: 488 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.914/1.914, allocations: 225.7 MB / 0.6016 GB, free: 1.551 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.0008471/0.0008471, allocations: 99.55 kB / 0.709 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2142, allocations: 109.2 MB / 0.9328 GB, free: 6.238 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001448/0.2157, allocations: 1.162 MB / 0.9339 GB, free: 5.062 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004247/0.2161, allocations: 239.4 kB / 0.9341 GB, free: 4.828 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.2162, allocations: 0 / 0.9341 GB, free: 4.828 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.2162, allocations: 3.938 kB / 0.9341 GB, free: 4.824 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.682e-05/0.2163, allocations: 7.922 kB / 0.9341 GB, free: 4.816 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.2165, allocations: 27.97 kB / 0.9342 GB, free: 4.789 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.2166, allocations: 51.86 kB / 0.9342 GB, free: 4.738 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2167, allocations: 15.97 kB / 0.9342 GB, free: 4.723 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.2168, allocations: 19.92 kB / 0.9343 GB, free: 4.703 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.2168, allocations: 23.86 kB / 0.9343 GB, free: 4.68 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.2169, allocations: 3.938 kB / 0.9343 GB, free: 4.676 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.2169, allocations: 4 kB / 0.9343 GB, free: 4.672 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.2169, allocations: 11.98 kB / 0.9343 GB, free: 4.66 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.497e-05/0.217, allocations: 49.56 kB / 0.9343 GB, free: 4.605 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 8.091e-05/0.217, allocations: 51.84 kB / 0.9344 GB, free: 4.555 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2171, allocations: 0 / 0.9344 GB, free: 4.555 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2171, allocations: 0 / 0.9344 GB, free: 4.555 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2171, allocations: 0 / 0.9344 GB, free: 4.555 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004829/0.2176, allocations: 371.7 kB / 0.9347 GB, free: 4.141 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2176, allocations: 11.98 kB / 0.9348 GB, free: 4.129 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.2176, allocations: 12.78 kB / 0.9348 GB, free: 4.117 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.052e-05/0.2177, allocations: 168.3 kB / 0.9349 GB, free: 3.914 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2178, allocations: 384 / 0.9349 GB, free: 3.914 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.2178, allocations: 8.375 kB / 0.9349 GB, free: 3.906 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.218, allocations: 74.2 kB / 0.935 GB, free: 3.828 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.218, allocations: 4.188 kB / 0.935 GB, free: 3.824 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.218, allocations: 7.875 kB / 0.935 GB, free: 3.816 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.218, allocations: 7.984 kB / 0.935 GB, free: 3.809 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.2182, allocations: 51.95 kB / 0.9351 GB, free: 3.758 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.2186, allocations: 292.7 kB / 0.9354 GB, free: 3.422 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.2187, allocations: 58.55 kB / 0.9354 GB, free: 3.355 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.795e-05/0.2188, allocations: 48.89 kB / 0.9355 GB, free: 3.305 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.2188, allocations: 0 / 0.9355 GB, free: 3.305 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.2191, allocations: 79.38 kB / 0.9355 GB, free: 3.215 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.2191, allocations: 0 / 0.9355 GB, free: 3.215 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0003871/0.2195, allocations: 145.6 kB / 0.9357 GB, free: 3.066 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.2195, allocations: 59.41 kB / 0.9357 GB, free: 2.996 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.2196, allocations: 109.8 kB / 0.9358 GB, free: 2.879 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.2196, allocations: 37.7 kB / 0.9359 GB, free: 2.836 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.2196, allocations: 84.12 kB / 0.9359 GB, free: 2.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.2196, allocations: 23.69 kB / 0.936 GB, free: 2.727 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.2197, allocations: 0 / 0.936 GB, free: 2.727 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.2197, allocations: 318.8 kB / 0.9363 GB, free: 2.406 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.2198, allocations: 31.97 kB / 0.9363 GB, free: 2.375 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.884e-05/0.2199, allocations: 58.55 kB / 0.9364 GB, free: 2.309 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.2201, allocations: 86.47 kB / 0.9364 GB, free: 2.215 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2201, allocations: 0 / 0.9364 GB, free: 2.215 MB / 0.573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002246/0.2204, allocations: 117.5 kB / 0.9366 GB, free: 2.094 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2204, allocations: 7.906 kB / 0.9366 GB, free: 2.086 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2204, allocations: 4.031 kB / 0.9366 GB, free: 2.082 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2204, allocations: 4 kB / 0.9366 GB, free: 2.078 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2205, allocations: 15.98 kB / 0.9366 GB, free: 2.062 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2205, allocations: 0 / 0.9366 GB, free: 2.062 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.2206, allocations: 15.98 kB / 0.9366 GB, free: 2.047 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.2206, allocations: 4 kB / 0.9366 GB, free: 2.043 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.917e-05/0.2207, allocations: 127.7 kB / 0.9367 GB, free: 1.91 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.2207, allocations: 11.84 kB / 0.9367 GB, free: 1.898 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.221, allocations: 118.6 kB / 0.9369 GB, free: 1.777 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.221, allocations: 0 / 0.9369 GB, free: 1.777 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.221, allocations: 3.984 kB / 0.9369 GB, free: 1.773 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.221, allocations: 4 kB / 0.9369 GB, free: 1.77 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.2214, allocations: 382.4 kB / 0.9372 GB, free: 1.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2214, allocations: 4 kB / 0.9372 GB, free: 1.336 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.882e-05/0.2215, allocations: 15.98 kB / 0.9372 GB, free: 1.32 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2215, allocations: 96 / 0.9372 GB, free: 1.32 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2215, allocations: 11.98 kB / 0.9373 GB, free: 1.309 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2215, allocations: 0 / 0.9373 GB, free: 1.309 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2215, allocations: 160 / 0.9373 GB, free: 1.309 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.2218, allocations: 223.2 kB / 0.9375 GB, free: 1.074 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.2218, allocations: 85.05 kB / 0.9375 GB, free: 0.9727 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.2219, allocations: 3.984 kB / 0.9376 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.222, allocations: 15.98 kB / 0.9376 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.222, allocations: 15.92 kB / 0.9376 GB, free: 0.9375 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.222, allocations: 0 / 0.9376 GB, free: 0.9375 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.075e-05/0.2221, allocations: 87.28 kB / 0.9377 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2221, allocations: 0 / 0.9377 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001986/0.2223, allocations: 16.09 kB / 0.9377 GB, free: 0.8359 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: 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 (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.0001077/0.2224, allocations: 111.7 kB / 0.9378 GB, free: 0.7188 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.2226, allocations: 83.89 kB / 0.9379 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2226, allocations: 0 / 0.9379 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.2228, allocations: 39.97 kB / 0.9379 GB, free: 0.5977 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.223, allocations: 12.06 kB / 0.9379 GB, free: 0.5859 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.2234, allocations: 178.5 kB / 0.9381 GB, free: 388 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.2236, allocations: 0.6809 MB / 0.9388 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.781e-05/0.2236, allocations: 11.77 kB / 0.9388 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.2237, allocations: 15.44 kB / 0.9388 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of SimCode: time 2.6e-07/0.2237, allocations: 0 / 0.9388 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of Templates: time 0.002822/0.2265, allocations: 0.757 MB / 0.9395 GB, free: 14.89 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)