Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.898/1.898, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001236/0.001236, allocations: 175.2 kB / 393.1 MB, free: 4.059 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.502/1.502, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009377/0.000938, allocations: 95.27 kB / 0.7935 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004057, allocations: 12 kB / 0.9224 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7632, allocations: 121.3 MB / 1.041 GB, free: 58.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0008897/0.7642, allocations: 388.2 kB / 1.041 GB, free: 58.5 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.7657, allocations: 1.315 MB / 1.043 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.7657, allocations: 0 / 1.043 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.7657, allocations: 0 / 1.043 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.508e-05/0.7658, allocations: 8.25 kB / 1.043 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.7663, allocations: 129.5 kB / 1.043 GB, free: 57.4 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.7665, allocations: 118.9 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.7666, allocations: 11.12 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.7667, allocations: 42.12 kB / 1.043 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.7668, allocations: 48.75 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.7668, allocations: 4.938 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.337e-05/0.7669, allocations: 26.28 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.7669, allocations: 8.531 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.754e-05/0.767, allocations: 78.22 kB / 1.043 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.7672, allocations: 105.1 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7672, allocations: 0 / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7672, allocations: 0 / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.7672, allocations: 0 / 1.043 GB, free: 57.23 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.0005689/0.7678, allocations: 388.2 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.7678, allocations: 9.844 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.7679, allocations: 8.781 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.763e-05/0.768, allocations: 173.4 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.768, allocations: 5.609 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.7681, allocations: 9.719 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.7683, allocations: 76 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.7683, allocations: 192 / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.7683, allocations: 3.938 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.7684, allocations: 7.172 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.7685, allocations: 50.31 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.769, allocations: 317.5 kB / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.7692, allocations: 74.81 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.7694, allocations: 40.06 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.7694, allocations: 2.875 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/0.7697, allocations: 105.8 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.7697, allocations: 0 / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0005838/0.7703, allocations: 184.6 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.7704, allocations: 59.27 kB / 1.045 GB, free: 55.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.7705, allocations: 118.8 kB / 1.045 GB, free: 55.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.7705, allocations: 28.58 kB / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.7706, allocations: 98.34 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.7706, allocations: 17.55 kB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.7706, allocations: 1.469 kB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.7707, allocations: 321.4 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.7709, allocations: 49.44 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.771, allocations: 68.75 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.7713, allocations: 133 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7713, allocations: 0 / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003982/0.7717, allocations: 211.1 kB / 1.046 GB, free: 55.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.7718, allocations: 34.52 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7718, allocations: 0 / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.7718, allocations: 2.781 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.7719, allocations: 16.78 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.7719, allocations: 0 / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.7721, allocations: 50.27 kB / 1.046 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.7722, allocations: 6.469 kB / 1.046 GB, free: 55.13 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 0.0001037/0.7723, allocations: 129.9 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.7723, allocations: 6.844 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.7723, allocations: 7.484 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.7724, allocations: 0 / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.7724, allocations: 4.422 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.7724, allocations: 0.5156 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.7729, allocations: 411.8 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7729, allocations: 2.75 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.7729, allocations: 8.562 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7729, allocations: 0 / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.773, allocations: 0 / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.773, allocations: 0.5625 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.773, allocations: 3.25 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.7733, allocations: 251.4 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.7734, allocations: 85.86 kB / 1.047 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.7735, allocations: 1.922 kB / 1.047 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.7736, allocations: 4.672 kB / 1.047 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.7736, allocations: 8.688 kB / 1.047 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.7736, allocations: 9.422 kB / 1.047 GB, free: 54.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.942e-05/0.7737, allocations: 95.28 kB / 1.047 GB, free: 54.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7737, allocations: 0 / 1.047 GB, free: 54.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002552/0.774, allocations: 23.3 kB / 1.047 GB, free: 54.28 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.0001977/0.7742, allocations: 118.2 kB / 1.047 GB, free: 54.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.7745, allocations: 185 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7745, allocations: 4.125 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.7747, allocations: 50.34 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.775, allocations: 17.27 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.7754, allocations: 192.3 kB / 1.047 GB, free: 53.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.7756, allocations: 0.6905 MB / 1.048 GB, free: 53.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.7756, allocations: 7.125 kB / 1.048 GB, free: 53.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.7756, allocations: 11.06 kB / 1.048 GB, free: 53.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7757, allocations: 0 / 1.048 GB, free: 53.2 MB / 0.698 GB Notification: Performance of Templates: time 0.004374/0.78, allocations: 1.553 MB / 1.049 GB, free: 53.07 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)