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.Logical.Validation.TriggeredTrapezoid.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.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") 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.752/1.752, allocations: 255.9 MB / 271.2 MB, free: 8.906 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.0009941/0.0009939, allocations: 186.3 kB / 330.8 MB, free: 476 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.877/1.877, 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.0008992/0.0008993, allocations: 95.62 kB / 0.709 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003973, allocations: 12.78 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2634, allocations: 109.2 MB / 0.9328 GB, free: 6.258 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.00174/0.2652, allocations: 1.087 MB / 0.9338 GB, free: 5.16 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.000487/0.2657, allocations: 223.5 kB / 0.934 GB, free: 4.941 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.2658, allocations: 0 / 0.934 GB, free: 4.941 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.2658, allocations: 7.938 kB / 0.9341 GB, free: 4.934 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 8.739e-05/0.2659, allocations: 11.91 kB / 0.9341 GB, free: 4.922 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2661, allocations: 23.98 kB / 0.9341 GB, free: 4.898 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.2663, allocations: 71.81 kB / 0.9342 GB, free: 4.828 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2664, allocations: 7.938 kB / 0.9342 GB, free: 4.82 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.612e-05/0.2665, allocations: 27.91 kB / 0.9342 GB, free: 4.793 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.2666, allocations: 27.91 kB / 0.9342 GB, free: 4.766 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.2666, allocations: 4 kB / 0.9342 GB, free: 4.762 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.2666, allocations: 4 kB / 0.9342 GB, free: 4.758 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.2666, allocations: 15.86 kB / 0.9342 GB, free: 4.742 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.2667, allocations: 53.55 kB / 0.9343 GB, free: 4.684 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.2668, allocations: 63.81 kB / 0.9343 GB, free: 4.621 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2668, allocations: 0 / 0.9343 GB, free: 4.621 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2668, allocations: 0 / 0.9343 GB, free: 4.621 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.2669, allocations: 0 / 0.9343 GB, free: 4.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005954/0.2675, allocations: 363.7 kB / 0.9347 GB, free: 4.215 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.2675, allocations: 13.11 kB / 0.9347 GB, free: 4.203 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.2676, allocations: 8.844 kB / 0.9347 GB, free: 4.195 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.2677, allocations: 180.3 kB / 0.9349 GB, free: 3.98 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.2678, allocations: 384 / 0.9349 GB, free: 3.98 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.2678, allocations: 4.375 kB / 0.9349 GB, free: 3.977 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.268, allocations: 78.19 kB / 0.935 GB, free: 3.895 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2681, allocations: 192 / 0.935 GB, free: 3.895 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.2681, allocations: 7.938 kB / 0.935 GB, free: 3.887 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2681, allocations: 0 / 0.935 GB, free: 3.887 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.2683, allocations: 51.91 kB / 0.935 GB, free: 3.836 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.2687, allocations: 288.8 kB / 0.9353 GB, free: 3.504 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.2689, allocations: 66.48 kB / 0.9354 GB, free: 3.43 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.269, allocations: 36.97 kB / 0.9354 GB, free: 3.391 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.269, allocations: 4 kB / 0.9354 GB, free: 3.387 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.2693, allocations: 103.3 kB / 0.9355 GB, free: 3.273 MB / 0.573 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.2693, allocations: 4 kB / 0.9355 GB, free: 3.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=9): time 0.0004747/0.2698, allocations: 173.8 kB / 0.9357 GB, free: 3.094 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.2698, allocations: 59.41 kB / 0.9357 GB, free: 3.023 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.2699, allocations: 109.8 kB / 0.9358 GB, free: 2.906 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2699, allocations: 29.8 kB / 0.9359 GB, free: 2.871 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.27, allocations: 96.02 kB / 0.936 GB, free: 2.773 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.27, allocations: 23.8 kB / 0.936 GB, free: 2.75 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.27, allocations: 4 kB / 0.936 GB, free: 2.746 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.2701, allocations: 310.8 kB / 0.9363 GB, free: 2.434 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.905e-05/0.2702, allocations: 31.98 kB / 0.9363 GB, free: 2.402 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.094e-05/0.2703, allocations: 53.62 kB / 0.9364 GB, free: 2.344 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.2704, allocations: 65.64 kB / 0.9364 GB, free: 2.273 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2705, allocations: 3.938 kB / 0.9364 GB, free: 2.27 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002309/0.2707, allocations: 109.5 kB / 0.9365 GB, free: 2.156 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2707, allocations: 11.91 kB / 0.9365 GB, free: 2.145 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2707, allocations: 0 / 0.9365 GB, free: 2.145 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2708, allocations: 0 / 0.9365 GB, free: 2.145 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2709, allocations: 23.92 kB / 0.9366 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2709, allocations: 320 / 0.9366 GB, free: 2.121 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.271, allocations: 8 kB / 0.9366 GB, free: 2.113 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.271, allocations: 8.031 kB / 0.9366 GB, free: 2.105 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/0.2711, allocations: 122.4 kB / 0.9367 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.2711, allocations: 7.906 kB / 0.9367 GB, free: 1.969 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.2711, allocations: 8.375 kB / 0.9367 GB, free: 1.957 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2711, allocations: 0 / 0.9367 GB, free: 1.957 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2712, allocations: 8 kB / 0.9367 GB, free: 1.949 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2712, allocations: 0 / 0.9367 GB, free: 1.949 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.2718, allocations: 430.3 kB / 0.9371 GB, free: 1.473 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2718, allocations: 0 / 0.9371 GB, free: 1.473 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.2718, allocations: 11.92 kB / 0.9371 GB, free: 1.461 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2719, allocations: 4 kB / 0.9371 GB, free: 1.457 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.2719, allocations: 4 kB / 0.9371 GB, free: 1.453 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2719, allocations: 0 / 0.9371 GB, free: 1.453 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2719, allocations: 0 / 0.9371 GB, free: 1.453 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.2722, allocations: 231.4 kB / 0.9374 GB, free: 1.211 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.2722, allocations: 96.89 kB / 0.9375 GB, free: 1.098 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.2723, allocations: 0 / 0.9375 GB, free: 1.098 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2724, allocations: 11.98 kB / 0.9375 GB, free: 1.086 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.2725, allocations: 15.97 kB / 0.9375 GB, free: 1.07 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.2725, allocations: 4 kB / 0.9375 GB, free: 1.066 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.2726, allocations: 99.19 kB / 0.9376 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2726, allocations: 0 / 0.9376 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002351/0.2728, allocations: 16 kB / 0.9376 GB, free: 0.9531 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: 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 (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.0001565/0.273, allocations: 107.8 kB / 0.9377 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.2732, allocations: 87.89 kB / 0.9378 GB, free: 0.7539 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2732, allocations: 0 / 0.9378 GB, free: 0.7539 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2734, allocations: 51.91 kB / 0.9378 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.2737, allocations: 19.25 kB / 0.9379 GB, free: 0.6875 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.2741, allocations: 191 kB / 0.938 GB, free: 480 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.2744, allocations: 0.6848 MB / 0.9387 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.067e-05/0.2744, allocations: 8.656 kB / 0.9387 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.2745, allocations: 11.44 kB / 0.9387 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.2745, allocations: 3.938 kB / 0.9387 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of Templates: time 0.003757/0.2782, allocations: 1.047 MB / 0.9398 GB, free: 14.7 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)