Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.873/1.873, allocations: 291.7 MB / 306.8 MB, free: 7.715 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.0009999/0.001, allocations: 189.5 kB / 375.4 MB, free: 5.121 MB / 298.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.532/1.532, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0008005/0.0008005, allocations: 101.7 kB / 0.7699 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004825, allocations: 12 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.641, allocations: 118.1 MB / 1.011 GB, free: 57.76 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0008011/0.6418, allocations: 391.8 kB / 1.011 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.6433, allocations: 1.146 MB / 1.012 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.324e-05/0.6434, allocations: 3.656 kB / 1.012 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.6434, allocations: 0 / 1.012 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.6435, allocations: 9.797 kB / 1.012 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.644, allocations: 124.6 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.6441, allocations: 107 kB / 1.013 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.712e-05/0.6442, allocations: 6.609 kB / 1.013 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.6443, allocations: 48.06 kB / 1.013 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.62e-05/0.6444, allocations: 45.5 kB / 1.013 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.6444, allocations: 5.031 kB / 1.013 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.425e-05/0.6445, allocations: 21.53 kB / 1.013 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.6445, allocations: 8.906 kB / 1.013 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.6446, allocations: 42.36 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.6447, allocations: 77.62 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6447, allocations: 0 / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6447, allocations: 0.5 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6447, allocations: 4.562 kB / 1.013 GB, free: 57.61 MB / 0.7136 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.000497/0.6452, allocations: 384.9 kB / 1.013 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.6453, allocations: 11.16 kB / 1.013 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.6453, allocations: 10.62 kB / 1.013 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6454, allocations: 170.8 kB / 1.013 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.6455, allocations: 5.125 kB / 1.013 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.6455, allocations: 12.67 kB / 1.013 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.6457, allocations: 79.59 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.6457, allocations: 192 / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.6458, allocations: 5.156 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6458, allocations: 0 / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.6459, allocations: 45.48 kB / 1.014 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.6463, allocations: 322.5 kB / 1.014 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.6465, allocations: 81.88 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.6467, allocations: 42.38 kB / 1.014 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.6467, allocations: 0 / 1.014 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.647, allocations: 105.6 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.923e-06/0.647, allocations: 3.344 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004689/0.6474, allocations: 186.9 kB / 1.014 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.6475, allocations: 54.66 kB / 1.014 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.688e-05/0.6476, allocations: 119 kB / 1.014 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.6476, allocations: 30.73 kB / 1.014 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.6476, allocations: 83.95 kB / 1.015 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.6476, allocations: 19.98 kB / 1.015 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.6477, allocations: 4.062 kB / 1.015 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.6477, allocations: 322.4 kB / 1.015 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.6479, allocations: 51.86 kB / 1.015 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.648, allocations: 77.28 kB / 1.015 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.6482, allocations: 127.7 kB / 1.015 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6483, allocations: 0 / 1.015 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003738/0.6486, allocations: 206.8 kB / 1.015 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.6487, allocations: 35 kB / 1.015 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6487, allocations: 2.781 kB / 1.015 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.6487, allocations: 2 kB / 1.015 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.6488, allocations: 17.94 kB / 1.015 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.6489, allocations: 0 / 1.015 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.6491, allocations: 45.7 kB / 1.015 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.6491, allocations: 4.656 kB / 1.015 GB, free: 55.78 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.399e-05/0.6492, allocations: 134.6 kB / 1.016 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.6492, allocations: 7.344 kB / 1.016 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.6493, allocations: 10.17 kB / 1.016 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6493, allocations: 4.812 kB / 1.016 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6493, allocations: 0 / 1.016 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.6493, allocations: 0.8438 kB / 1.016 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.6497, allocations: 406.8 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6498, allocations: 0 / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.6498, allocations: 7.906 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6498, allocations: 0 / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.6498, allocations: 6.625 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6498, allocations: 0 / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6498, allocations: 1.531 kB / 1.016 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.6502, allocations: 248.1 kB / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.83e-05/0.6502, allocations: 81.48 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.6503, allocations: 3.875 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.6504, allocations: 7.781 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.6504, allocations: 6.812 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.6504, allocations: 4.906 kB / 1.016 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.6505, allocations: 94.98 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6505, allocations: 3.938 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00024/0.6507, allocations: 26.16 kB / 1.016 GB, free: 55.03 MB / 0.7136 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 (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.0002186/0.6509, allocations: 120.1 kB / 1.017 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.6513, allocations: 184.8 kB / 1.017 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6513, allocations: 1.344 kB / 1.017 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.6515, allocations: 51.16 kB / 1.017 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.6517, allocations: 13.66 kB / 1.017 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.6521, allocations: 197.1 kB / 1.017 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.6522, allocations: 0.69 MB / 1.018 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.304e-05/0.6522, allocations: 6.078 kB / 1.018 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.6523, allocations: 9.969 kB / 1.018 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.6523, allocations: 0 / 1.018 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.003865/0.6561, allocations: 1.515 MB / 1.019 GB, free: 53.97 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)