Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 297.4 MB / 312.6 MB, free: 2.867 MB / 234.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.001013/0.001014, allocations: 189.4 kB / 382.3 MB, free: 14.77 MB / 314.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.709/1.709, allocations: 225.7 MB / 0.6617 GB, free: 7.184 MB / 490.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.001065/0.001065, allocations: 95.84 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004736, allocations: 15.98 kB / 0.9059 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8837/0.8842, allocations: 119.2 MB / 1.022 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001663/0.8859, allocations: 400.9 kB / 1.023 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002702/0.8887, allocations: 1.314 MB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.8888, allocations: 0 / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.8888, allocations: 1.406 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.8889, allocations: 9.094 kB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007484/0.8897, allocations: 134.5 kB / 1.024 GB, free: 57.19 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.8899, allocations: 110.9 kB / 1.024 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.89, allocations: 10.23 kB / 1.024 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.8902, allocations: 50.95 kB / 1.024 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.8904, allocations: 43.77 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.8904, allocations: 6.25 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.8905, allocations: 25.05 kB / 1.024 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.8905, allocations: 11.27 kB / 1.024 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.8907, allocations: 66.23 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.891, allocations: 109.4 kB / 1.025 GB, free: 57.04 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.891, allocations: 1.688 kB / 1.025 GB, free: 57.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/0.891, allocations: 1.125 kB / 1.025 GB, free: 57.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.891, allocations: 0 / 1.025 GB, free: 57.04 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007264/0.8918, allocations: 386.4 kB / 1.025 GB, free: 56.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/0.8918, allocations: 10.28 kB / 1.025 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.301e-05/0.8919, allocations: 13.41 kB / 1.025 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.892, allocations: 170.2 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.8921, allocations: 4.438 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.8921, allocations: 13.67 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.8924, allocations: 73.83 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.8924, allocations: 4.875 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.8925, allocations: 6.125 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.8925, allocations: 2.156 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.8927, allocations: 46.95 kB / 1.025 GB, free: 56.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005952/0.8933, allocations: 316 kB / 1.026 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.8935, allocations: 81.41 kB / 1.026 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.8937, allocations: 36.91 kB / 1.026 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.8937, allocations: 0.5312 kB / 1.026 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.894, allocations: 113.7 kB / 1.026 GB, free: 55.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.894, allocations: 0 / 1.026 GB, free: 55.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0005684/0.8946, allocations: 187.7 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.8947, allocations: 52.44 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.8948, allocations: 117.8 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.8948, allocations: 26.86 kB / 1.026 GB, free: 55.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.8949, allocations: 89.23 kB / 1.026 GB, free: 55.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.8949, allocations: 23.53 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.8949, allocations: 2.656 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.895, allocations: 325.5 kB / 1.027 GB, free: 55.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.8952, allocations: 48.41 kB / 1.027 GB, free: 55.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.8954, allocations: 79.95 kB / 1.027 GB, free: 55.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.8956, allocations: 121.4 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8956, allocations: 1.031 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004298/0.8961, allocations: 201.8 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.8961, allocations: 45.56 kB / 1.027 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.8961, allocations: 0 / 1.027 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.8962, allocations: 3.125 kB / 1.027 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.8963, allocations: 15 kB / 1.027 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.8963, allocations: 1.531 kB / 1.027 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.8965, allocations: 47.38 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.8966, allocations: 5.156 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 9.549e-05/0.8967, allocations: 131.4 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.8967, allocations: 9.5 kB / 1.027 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.8967, allocations: 8.375 kB / 1.027 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8967, allocations: 0 / 1.027 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.8968, allocations: 6.656 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.8968, allocations: 1.031 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.8972, allocations: 407.7 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8972, allocations: 2.875 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.8973, allocations: 10.36 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.8973, allocations: 0 / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.8973, allocations: 2.906 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.8973, allocations: 1.375 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8973, allocations: 0 / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.8977, allocations: 247.9 kB / 1.028 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.8977, allocations: 79.55 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.8977, allocations: 6.406 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.8978, allocations: 9.797 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.8979, allocations: 7.5 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.8979, allocations: 6.469 kB / 1.028 GB, free: 54.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.584e-05/0.8979, allocations: 91.81 kB / 1.028 GB, free: 54.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8979, allocations: 0 / 1.028 GB, free: 54.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002509/0.8982, allocations: 25.47 kB / 1.028 GB, free: 54.1 MB / 0.698 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 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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.0002058/0.8984, allocations: 121.5 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003762/0.8988, allocations: 187.1 kB / 1.028 GB, free: 53.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8988, allocations: 3.469 kB / 1.028 GB, free: 53.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.899, allocations: 52.59 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.8992, allocations: 14.03 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.8997, allocations: 193 kB / 1.029 GB, free: 53.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.8998, allocations: 0.6841 MB / 1.029 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.8999, allocations: 6.297 kB / 1.029 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.8999, allocations: 13.66 kB / 1.029 GB, free: 53.02 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.8999, allocations: 4 kB / 1.029 GB, free: 53.01 MB / 0.698 GB Notification: Performance of Templates: time 0.004853/0.9048, allocations: 1.556 MB / 1.031 GB, free: 52.9 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)