Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 191.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.595/1.595, allocations: 251.7 MB / 0.5092 GB, free: 3.137 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 67.91 kB / 0.6223 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6509/0.6524, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002929/0.6554, allocations: 1.368 MB / 0.7259 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005843/0.6561, allocations: 251.1 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.6561, allocations: 4 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.6561, allocations: 3.938 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.768e-05/0.6562, allocations: 11.91 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.6565, allocations: 35.91 kB / 0.7262 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.6566, allocations: 75.72 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.6567, allocations: 11.97 kB / 0.7262 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/0.6568, allocations: 27.92 kB / 0.7263 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.6569, allocations: 31.89 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.6569, allocations: 4 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.83e-05/0.657, allocations: 12 kB / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.657, allocations: 15.98 kB / 0.7263 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.712e-05/0.6571, allocations: 27.84 kB / 0.7264 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.6572, allocations: 65.8 kB / 0.7264 GB, free: 10.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.6572, allocations: 0 / 0.7264 GB, free: 10.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.572e-06/0.6572, allocations: 0 / 0.7264 GB, free: 10.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.6572, allocations: 4 kB / 0.7264 GB, free: 10.97 MB / 0.545 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.0007333/0.658, allocations: 363.3 kB / 0.7268 GB, free: 10.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.658, allocations: 19.97 kB / 0.7268 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.6581, allocations: 8.844 kB / 0.7268 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.6582, allocations: 164.3 kB / 0.727 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.6583, allocations: 8.312 kB / 0.727 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.6583, allocations: 4.375 kB / 0.727 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.6585, allocations: 82.17 kB / 0.727 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6586, allocations: 192 / 0.727 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.6586, allocations: 3.938 kB / 0.727 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.6586, allocations: 3.984 kB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.6588, allocations: 51.95 kB / 0.7271 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.6593, allocations: 280.8 kB / 0.7274 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.6595, allocations: 74.42 kB / 0.7274 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.6597, allocations: 40.89 kB / 0.7275 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.6597, allocations: 0 / 0.7275 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.66, allocations: 103.4 kB / 0.7276 GB, free: 9.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.66, allocations: 0 / 0.7276 GB, free: 9.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0005723/0.6606, allocations: 177.5 kB / 0.7277 GB, free: 9.438 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.6606, allocations: 51.41 kB / 0.7278 GB, free: 9.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.6608, allocations: 113.8 kB / 0.7279 GB, free: 9.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.6608, allocations: 29.7 kB / 0.7279 GB, free: 9.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.6609, allocations: 92.14 kB / 0.728 GB, free: 9.125 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.6609, allocations: 15.88 kB / 0.728 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.661, allocations: 29.7 kB / 0.7281 GB, free: 9.074 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.6611, allocations: 318.8 kB / 0.7284 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.6612, allocations: 27.98 kB / 0.7284 GB, free: 8.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.6613, allocations: 37.7 kB / 0.7284 GB, free: 8.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.6615, allocations: 65.69 kB / 0.7285 GB, free: 8.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6615, allocations: 7.875 kB / 0.7285 GB, free: 8.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002431/0.6618, allocations: 109.8 kB / 0.7286 GB, free: 8.492 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.6618, allocations: 7.938 kB / 0.7286 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6618, allocations: 0 / 0.7286 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.6618, allocations: 4 kB / 0.7286 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.662, allocations: 11.98 kB / 0.7286 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.662, allocations: 0 / 0.7286 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.6621, allocations: 23.86 kB / 0.7287 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.6621, allocations: 4 kB / 0.7287 GB, free: 8.441 MB / 0.545 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,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,$whenCondition2,$whenCondition3) * 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 0.0001066/0.6622, allocations: 122.7 kB / 0.7288 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.6622, allocations: 3.938 kB / 0.7288 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.6623, allocations: 12.38 kB / 0.7288 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6623, allocations: 3.984 kB / 0.7288 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6623, allocations: 0 / 0.7288 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6623, allocations: 0 / 0.7288 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006584/0.6629, allocations: 422.3 kB / 0.7292 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.663, allocations: 0 / 0.7292 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.663, allocations: 4 kB / 0.7292 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.663, allocations: 0 / 0.7292 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.663, allocations: 0 / 0.7292 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.663, allocations: 4 kB / 0.7292 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.663, allocations: 0 / 0.7292 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.6634, allocations: 231.4 kB / 0.7294 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.6635, allocations: 85.02 kB / 0.7295 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.6635, allocations: 3.984 kB / 0.7295 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.6636, allocations: 11.98 kB / 0.7295 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.6637, allocations: 4 kB / 0.7295 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.6637, allocations: 7.984 kB / 0.7295 GB, free: 7.445 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.6638, allocations: 91.22 kB / 0.7296 GB, free: 7.355 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6638, allocations: 4.281 kB / 0.7296 GB, free: 7.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002306/0.664, allocations: 16 kB / 0.7296 GB, free: 7.336 MB / 0.545 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.000149/0.6642, allocations: 107.2 kB / 0.7297 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.6644, allocations: 83.84 kB / 0.7298 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6645, allocations: 0 / 0.7298 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.6646, allocations: 47.97 kB / 0.7299 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.6649, allocations: 20.27 kB / 0.7299 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.6654, allocations: 189.6 kB / 0.7301 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.6657, allocations: 0.6923 MB / 0.7307 GB, free: 6.141 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.6657, allocations: 4.672 kB / 0.7307 GB, free: 6.133 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.6657, allocations: 19.42 kB / 0.7308 GB, free: 6.117 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6657, allocations: 0 / 0.7308 GB, free: 6.117 MB / 0.545 GB Notification: Performance of Templates: time 0.003891/0.6696, allocations: 1.168 MB / 0.7319 GB, free: 4.965 MB / 0.545 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)