Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/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_master_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.048/5.048, allocations: 0.5623 GB / 0.5769 GB, free: 3.273 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002383/0.002382, allocations: 362.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.266/4.266, allocations: 410.7 MB / 1.112 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001797/0.001797, allocations: 176.1 kB / 1.225 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004961, allocations: 12 kB / 1.348 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6328, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0007019/0.6336, allocations: 396.7 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.6349, allocations: 1.126 MB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.635, allocations: 3.938 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.635, allocations: 0.9688 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.6351, allocations: 11.91 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.6356, allocations: 119.8 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.6357, allocations: 105 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.293e-05/0.6358, allocations: 7.984 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.6359, allocations: 47.89 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.636, allocations: 40.38 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.636, allocations: 5.5 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.6361, allocations: 31.91 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.6362, allocations: 7.984 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.6362, allocations: 34.55 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.6363, allocations: 82.45 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6364, allocations: 0.7188 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.019e-06/0.6364, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.751e-06/0.6364, allocations: 0.5 kB / 1.463 GB, free: 282.3 MB / 0.8542 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.0005105/0.6369, allocations: 383.1 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.637, allocations: 23.5 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.637, allocations: 7.906 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.734e-05/0.6371, allocations: 175 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.6372, allocations: 4.969 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.6372, allocations: 8 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.6375, allocations: 74.27 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6375, allocations: 5 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.6375, allocations: 1.125 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.646e-06/0.6375, allocations: 4.875 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.6377, allocations: 44.97 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.6382, allocations: 326 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.6385, allocations: 67.36 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.6387, allocations: 38.83 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.844e-06/0.6387, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.639, allocations: 108.7 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 2.475e-06/0.639, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0006469/0.6397, allocations: 188.6 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.6397, allocations: 55.41 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.6398, allocations: 118.4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.6398, allocations: 31.33 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.6399, allocations: 88.33 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.6399, allocations: 19.8 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.64, allocations: 0.6875 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.64, allocations: 322.8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.6402, allocations: 51.09 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.6404, allocations: 72.42 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.6406, allocations: 85.58 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.939e-06/0.6407, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005089/0.6412, allocations: 200 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.6412, allocations: 38.41 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.978e-06/0.6412, allocations: 4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6413, allocations: 0.7188 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.6414, allocations: 21.17 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.316e-06/0.6414, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.6417, allocations: 53.77 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.6417, allocations: 7.984 kB / 1.465 GB, free: 279.5 MB / 0.8542 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.618e-05/0.6419, allocations: 126.8 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.6419, allocations: 5.25 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.6419, allocations: 4.375 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.701e-06/0.6419, allocations: 4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.507e-06/0.642, allocations: 0.5 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.642, allocations: 7.859 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005745/0.6426, allocations: 411.6 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6426, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.6426, allocations: 8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.072e-06/0.6427, allocations: 1.156 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.6427, allocations: 3.984 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.776e-06/0.6427, allocations: 4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.096e-06/0.6427, allocations: 2.562 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.6432, allocations: 239.4 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.6432, allocations: 86.61 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.6432, allocations: 3.938 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.6434, allocations: 11.98 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.6434, allocations: 8.703 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.6435, allocations: 4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.6435, allocations: 96.72 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.71e-07/0.6435, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005281/0.6441, allocations: 28 kB / 1.466 GB, free: 278.4 MB / 0.8542 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.0002222/0.6443, allocations: 104.5 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007246/0.6451, allocations: 188.3 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.72e-06/0.6451, allocations: 0.7812 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.6454, allocations: 53.8 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.6461, allocations: 15.98 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007194/0.6468, allocations: 185.5 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.6471, allocations: 0.6929 MB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.78e-05/0.6472, allocations: 6.141 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.6472, allocations: 15.42 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of SimCode: time 2.363e-06/0.6473, allocations: 0 / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.007526/0.6548, allocations: 1.506 MB / 1.469 GB, free: 275.7 MB / 0.8542 GB