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.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001539, 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.001903/0.001903, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.722/1.722, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.735/1.735, allocations: 251.7 MB / 0.5092 GB, free: 3.133 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.001502/0.001502, allocations: 72.23 kB / 0.6223 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5941, allocations: 104.7 MB / 0.7245 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.003168/0.5973, allocations: 1.469 MB / 0.726 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005235/0.5979, allocations: 220.2 kB / 0.7262 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.5979, allocations: 4 kB / 0.7262 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.598, allocations: 3.938 kB / 0.7262 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.093e-05/0.5981, allocations: 19.84 kB / 0.7262 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.5983, allocations: 27.92 kB / 0.7262 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.5984, allocations: 63.72 kB / 0.7263 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.5986, allocations: 19.98 kB / 0.7263 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.205e-05/0.5986, allocations: 23.91 kB / 0.7263 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.5987, allocations: 27.86 kB / 0.7264 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.5987, allocations: 4 kB / 0.7264 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.5987, allocations: 4 kB / 0.7264 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.5988, allocations: 15.98 kB / 0.7264 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.5988, allocations: 31.86 kB / 0.7264 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.599, allocations: 51.78 kB / 0.7265 GB, free: 11.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.599, allocations: 0 / 0.7265 GB, free: 11.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.599, allocations: 0 / 0.7265 GB, free: 11.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.599, allocations: 0 / 0.7265 GB, free: 11.04 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007201/0.5997, allocations: 381.2 kB / 0.7268 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5998, allocations: 8.031 kB / 0.7268 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.5998, allocations: 8.844 kB / 0.7268 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.6001, allocations: 184.2 kB / 0.727 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.6001, allocations: 4.375 kB / 0.727 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.6001, allocations: 8.375 kB / 0.727 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.6004, allocations: 66.22 kB / 0.7271 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.6004, allocations: 192 / 0.7271 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.6004, allocations: 3.938 kB / 0.7271 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.6004, allocations: 0 / 0.7271 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.6006, allocations: 51.89 kB / 0.7271 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.6012, allocations: 304.7 kB / 0.7274 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.6017, allocations: 106.6 kB / 0.7275 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.6018, allocations: 28.97 kB / 0.7276 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.6018, allocations: 3.938 kB / 0.7276 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.6021, allocations: 83.34 kB / 0.7276 GB, free: 9.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.6021, allocations: 4 kB / 0.7277 GB, free: 9.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004171/0.6025, allocations: 129.5 kB / 0.7278 GB, free: 9.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.6026, allocations: 51.41 kB / 0.7278 GB, free: 9.461 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.6027, allocations: 121.8 kB / 0.7279 GB, free: 9.332 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.6027, allocations: 29.7 kB / 0.728 GB, free: 9.297 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.6028, allocations: 92.12 kB / 0.7281 GB, free: 9.203 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.6028, allocations: 15.75 kB / 0.7281 GB, free: 9.188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.6029, allocations: 25.72 kB / 0.7281 GB, free: 9.156 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.603, allocations: 326.8 kB / 0.7284 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.6031, allocations: 27.97 kB / 0.7284 GB, free: 8.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.6033, allocations: 51.42 kB / 0.7285 GB, free: 8.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.6035, allocations: 87.33 kB / 0.7286 GB, free: 8.641 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6035, allocations: 0 / 0.7286 GB, free: 8.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002665/0.6038, allocations: 117.4 kB / 0.7287 GB, free: 8.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.6038, allocations: 6.031 kB / 0.7287 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.6038, allocations: 8.094 kB / 0.7287 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.6039, allocations: 0 / 0.7287 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.604, allocations: 11.98 kB / 0.7287 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.604, allocations: 4 kB / 0.7287 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.6041, allocations: 11.98 kB / 0.7287 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.6041, allocations: 4 kB / 0.7287 GB, free: 8.477 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001041/0.6042, allocations: 129 kB / 0.7288 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.6042, allocations: 11.91 kB / 0.7289 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.608e-05/0.6043, allocations: 12.38 kB / 0.7289 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6043, allocations: 0 / 0.7289 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6043, allocations: 3.984 kB / 0.7289 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6043, allocations: 0 / 0.7289 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.6048, allocations: 362.8 kB / 0.7292 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6048, allocations: 0 / 0.7292 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.6048, allocations: 7.984 kB / 0.7292 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6048, allocations: 4.562 kB / 0.7292 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.6048, allocations: 3.938 kB / 0.7292 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.6049, allocations: 8.016 kB / 0.7292 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.6049, allocations: 7.922 kB / 0.7293 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.6052, allocations: 199.4 kB / 0.7294 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.6052, allocations: 84.95 kB / 0.7295 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.6053, allocations: 7.938 kB / 0.7295 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.6054, allocations: 15.92 kB / 0.7295 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.6054, allocations: 11.98 kB / 0.7296 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.6055, allocations: 0 / 0.7296 GB, free: 7.527 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.992e-05/0.6055, allocations: 95.27 kB / 0.7296 GB, free: 7.434 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6055, allocations: 0 / 0.7296 GB, free: 7.434 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002267/0.6058, allocations: 12 kB / 0.7297 GB, free: 7.422 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: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002019/0.606, allocations: 111.2 kB / 0.7298 GB, free: 7.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.6062, allocations: 71.95 kB / 0.7298 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6062, allocations: 0 / 0.7298 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.6064, allocations: 35.97 kB / 0.7299 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.6067, allocations: 16.12 kB / 0.7299 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.6071, allocations: 174.2 kB / 0.73 GB, free: 6.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.6075, allocations: 0.6846 MB / 0.7307 GB, free: 6.273 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.6075, allocations: 15.84 kB / 0.7307 GB, free: 6.258 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.6076, allocations: 15.44 kB / 0.7307 GB, free: 6.242 MB / 0.545 GB Notification: Performance of SimCode: time 2.054e-06/0.6076, allocations: 0 / 0.7307 GB, free: 6.242 MB / 0.545 GB Notification: Performance of Templates: time 0.00375/0.6113, allocations: 0.9319 MB / 0.7317 GB, free: 5.316 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)