Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 292.6 MB / 307.5 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 177 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.4 MB / 0.6367 GB, free: 8.645 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008833/0.0008832, allocations: 93.28 kB / 0.751 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3096, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8361/1.146, allocations: 139.3 MB / 1.124 GB, free: 35.35 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.146, allocations: 79.67 kB / 1.125 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006188/1.152, allocations: 2.09 MB / 1.127 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.586e-06/1.152, allocations: 0 / 1.127 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.17e-05/1.152, allocations: 4 kB / 1.127 GB, free: 33.76 MB / 0.7292 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.0005775/1.153, allocations: 400.5 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.153, allocations: 12.02 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/1.153, allocations: 13.97 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/1.153, allocations: 174.9 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/1.153, allocations: 5.188 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/1.153, allocations: 8 kB / 1.127 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/1.154, allocations: 77.91 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/1.154, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/1.154, allocations: 0.7969 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.154, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/1.154, allocations: 58.34 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/1.154, allocations: 327.9 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/1.155, allocations: 65.67 kB / 1.128 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/1.155, allocations: 0 / 1.128 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/1.155, allocations: 106.2 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/1.155, allocations: 0 / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004396/1.155, allocations: 155 kB / 1.128 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/1.155, allocations: 56.03 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/1.156, allocations: 109 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/1.156, allocations: 29.7 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/1.156, allocations: 95.41 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/1.156, allocations: 15.72 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/1.156, allocations: 4 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/1.156, allocations: 322.7 kB / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/1.156, allocations: 62.41 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/1.156, allocations: 87.66 kB / 1.129 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/1.156, allocations: 89.36 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.156, allocations: 0 / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004122/1.157, allocations: 215.8 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/1.157, allocations: 38.27 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.157, allocations: 4.141 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.157, allocations: 0 / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/1.157, allocations: 15.52 kB / 1.129 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/1.157, allocations: 4.719 kB / 1.129 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/1.157, allocations: 54.36 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/1.157, allocations: 13.89 kB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * 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.232e-05/1.157, allocations: 125.7 kB / 1.129 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/1.157, allocations: 15.38 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/1.157, allocations: 8.375 kB / 1.129 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.157, allocations: 0 / 1.129 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.157, allocations: 0 / 1.129 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.157, allocations: 1.453 kB / 1.129 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/1.158, allocations: 391 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.158, allocations: 0 / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/1.158, allocations: 11.38 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.158, allocations: 0.6875 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/1.158, allocations: 4 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.158, allocations: 4 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.158, allocations: 0.9375 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/1.158, allocations: 225.5 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/1.158, allocations: 81.11 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/1.158, allocations: 1.25 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/1.158, allocations: 19.7 kB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/1.158, allocations: 7.516 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/1.158, allocations: 0.625 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.754e-05/1.159, allocations: 91.52 kB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/1.159, allocations: 0 / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002678/1.159, allocations: 32 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001934/1.159, allocations: 116.1 kB / 1.13 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003731/1.159, allocations: 189.3 kB / 1.13 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.159, allocations: 0 / 1.13 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/1.16, allocations: 51.81 kB / 1.13 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/1.16, allocations: 16.06 kB / 1.13 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/1.16, allocations: 170.5 kB / 1.131 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/1.16, allocations: 0.6949 MB / 1.131 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.415e-05/1.16, allocations: 4 kB / 1.131 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/1.16, allocations: 11.44 kB / 1.131 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/1.16, allocations: 0 / 1.131 GB, free: 28.89 MB / 0.7292 GB Notification: Performance of Templates: time 0.003973/1.164, allocations: 1.261 MB / 1.133 GB, free: 28.2 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)