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.Validation.TriggeredTrapezoid.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.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.459/2.459, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.001518/0.001518, allocations: 188.9 kB / 329.5 MB, free: 1.188 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.633/2.633, allocations: 225.6 MB / 0.6001 GB, free: 2.242 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.0009433/0.0009432, allocations: 106.1 kB / 0.7074 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004853, allocations: 15.62 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 109.1 MB / 0.9308 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001559/0.2139, allocations: 1.079 MB / 0.9318 GB, free: 24.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.2145, allocations: 235.4 kB / 0.9321 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.2146, allocations: 0 / 0.9321 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.2146, allocations: 0 / 0.9321 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.217e-05/0.2147, allocations: 11.92 kB / 0.9321 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.215, allocations: 31.91 kB / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2151, allocations: 59.84 kB / 0.9322 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.2152, allocations: 11.97 kB / 0.9322 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.2153, allocations: 27.92 kB / 0.9322 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.916e-05/0.2154, allocations: 31.83 kB / 0.9322 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.2154, allocations: 4 kB / 0.9322 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.99e-05/0.2154, allocations: 4 kB / 0.9322 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.2155, allocations: 11.92 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.2155, allocations: 37.69 kB / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.896e-05/0.2156, allocations: 43.89 kB / 0.9323 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2156, allocations: 7.984 kB / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2156, allocations: 0 / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2157, allocations: 0 / 0.9323 GB, free: 23.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007532/0.2164, allocations: 363.6 kB / 0.9327 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2165, allocations: 8.031 kB / 0.9327 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.2165, allocations: 4.938 kB / 0.9327 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.2167, allocations: 180.2 kB / 0.9329 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.2167, allocations: 8.375 kB / 0.9329 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.2168, allocations: 384 / 0.9329 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.2171, allocations: 78.2 kB / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2171, allocations: 192 / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.2171, allocations: 3.938 kB / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2171, allocations: 0 / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.2174, allocations: 51.95 kB / 0.933 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.218, allocations: 280.9 kB / 0.9333 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.2184, allocations: 74.42 kB / 0.9333 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.2186, allocations: 40.95 kB / 0.9334 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2186, allocations: 4 kB / 0.9334 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/0.219, allocations: 99.3 kB / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 3.657e-06/0.219, allocations: 0 / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0007816/0.2198, allocations: 181.5 kB / 0.9336 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2198, allocations: 63.34 kB / 0.9337 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.2199, allocations: 114.2 kB / 0.9338 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.22, allocations: 25.7 kB / 0.9338 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.22, allocations: 84.14 kB / 0.9339 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.2201, allocations: 23.66 kB / 0.9339 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.2201, allocations: 3.938 kB / 0.9339 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.2201, allocations: 322.8 kB / 0.9343 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.2203, allocations: 27.98 kB / 0.9343 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.2205, allocations: 49.62 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.2206, allocations: 24 kB / 0.9344 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2207, allocations: 3.938 kB / 0.9344 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003722/0.221, allocations: 113.5 kB / 0.9345 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2211, allocations: 8.031 kB / 0.9345 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2211, allocations: 0 / 0.9345 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2211, allocations: 4 kB / 0.9345 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.2213, allocations: 15.94 kB / 0.9345 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2213, allocations: 7.984 kB / 0.9345 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2214, allocations: 8 kB / 0.9345 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2215, allocations: 4 kB / 0.9345 GB, free: 21.08 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.468e-05/0.2216, allocations: 127.6 kB / 0.9346 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.2216, allocations: 7.906 kB / 0.9346 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.2217, allocations: 12.38 kB / 0.9347 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2217, allocations: 0 / 0.9347 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2217, allocations: 0 / 0.9347 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2217, allocations: 0 / 0.9347 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.2227, allocations: 430.4 kB / 0.9351 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2227, allocations: 3.938 kB / 0.9351 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.2227, allocations: 11.92 kB / 0.9351 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2228, allocations: 0 / 0.9351 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2228, allocations: 192 / 0.9351 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2228, allocations: 4 kB / 0.9351 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2228, allocations: 3.938 kB / 0.9351 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.2233, allocations: 243.3 kB / 0.9353 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.2234, allocations: 81.05 kB / 0.9354 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.2234, allocations: 4 kB / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.2236, allocations: 11.98 kB / 0.9354 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.2236, allocations: 11.98 kB / 0.9354 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.2237, allocations: 0 / 0.9354 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.725e-05/0.2237, allocations: 99.2 kB / 0.9355 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2238, allocations: 0 / 0.9355 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002949/0.2241, allocations: 20 kB / 0.9355 GB, free: 19.93 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: 8 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001398/0.2242, allocations: 103.8 kB / 0.9356 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.2246, allocations: 79.89 kB / 0.9357 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2246, allocations: 0 / 0.9357 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.2248, allocations: 55.98 kB / 0.9358 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.2252, allocations: 11.98 kB / 0.9358 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005213/0.2258, allocations: 182.5 kB / 0.9359 GB, free: 19.47 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.2259, allocations: 0.6888 MB / 0.9366 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.915e-05/0.226, allocations: 4.672 kB / 0.9366 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.226, allocations: 15.44 kB / 0.9366 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of SimCode: time 1.122e-06/0.226, allocations: 0 / 0.9366 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of Templates: time 0.004202/0.2303, allocations: 1.028 MB / 0.9376 GB, free: 17.71 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)