Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 288.4 MB / 304.3 MB, free: 8.062 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.0009851/0.0009848, allocations: 178.7 kB / 372.9 MB, free: 10.15 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.481/1.481, allocations: 205.4 MB / 0.6317 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006805/0.0006805, allocations: 98.17 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 13.66 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7701/0.9991, allocations: 138.4 MB / 1.116 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.9995, allocations: 68.67 kB / 1.116 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006253/1.006, allocations: 2.104 MB / 1.118 GB, free: 32.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.285e-06/1.006, allocations: 0 / 1.118 GB, free: 32.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.006, allocations: 0 / 1.118 GB, free: 32.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005131/1.006, allocations: 402.7 kB / 1.118 GB, free: 31.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.006, allocations: 17.22 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/1.006, allocations: 16.62 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/1.007, allocations: 173.6 kB / 1.119 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/1.007, allocations: 4.281 kB / 1.119 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/1.007, allocations: 11.88 kB / 1.119 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/1.007, allocations: 67.88 kB / 1.119 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.007, allocations: 192 / 1.119 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/1.007, allocations: 13.23 kB / 1.119 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.007, allocations: 0 / 1.119 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/1.007, allocations: 51.86 kB / 1.119 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/1.008, allocations: 330.7 kB / 1.119 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/1.008, allocations: 64.16 kB / 1.119 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/1.008, allocations: 43.42 kB / 1.119 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/1.008, allocations: 1.344 kB / 1.119 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/1.008, allocations: 94.22 kB / 1.119 GB, free: 31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/1.008, allocations: 3.875 kB / 1.119 GB, free: 31 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004247/1.009, allocations: 153.6 kB / 1.119 GB, free: 30.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/1.009, allocations: 56.52 kB / 1.119 GB, free: 30.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.272e-05/1.009, allocations: 120.5 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/1.009, allocations: 36.58 kB / 1.12 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/1.009, allocations: 88.8 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/1.009, allocations: 16.08 kB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/1.009, allocations: 7.062 kB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.009, allocations: 320.9 kB / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/1.009, allocations: 55.78 kB / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/1.009, allocations: 95.58 kB / 1.12 GB, free: 30.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/1.01, allocations: 151 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.01, allocations: 0 / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003906/1.01, allocations: 225.8 kB / 1.121 GB, free: 30.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/1.01, allocations: 39.31 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.01, allocations: 3.984 kB / 1.121 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.01, allocations: 7.906 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/1.01, allocations: 10.23 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.01, allocations: 6.578 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/1.01, allocations: 48.67 kB / 1.121 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/1.011, allocations: 10.34 kB / 1.121 GB, free: 30.11 MB / 0.698 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.997e-05/1.011, allocations: 134.3 kB / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/1.011, allocations: 10.58 kB / 1.121 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/1.011, allocations: 10.81 kB / 1.121 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/1.011, allocations: 0 / 1.121 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.011, allocations: 0 / 1.121 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.011, allocations: 3.656 kB / 1.121 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/1.011, allocations: 387.1 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.011, allocations: 3.938 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/1.011, allocations: 10.64 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.011, allocations: 0 / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/1.011, allocations: 0 / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.011, allocations: 0 / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.011, allocations: 7 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/1.012, allocations: 218.6 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/1.012, allocations: 81.02 kB / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/1.012, allocations: 3.875 kB / 1.121 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/1.012, allocations: 13.86 kB / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/1.012, allocations: 13.44 kB / 1.121 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/1.012, allocations: 8.375 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.272e-05/1.012, allocations: 97.83 kB / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.012, allocations: 0 / 1.122 GB, free: 29.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002421/1.012, allocations: 30.31 kB / 1.122 GB, free: 29.33 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: 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.0001734/1.012, allocations: 116.2 kB / 1.122 GB, free: 29.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003637/1.013, allocations: 190.9 kB / 1.122 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.013, allocations: 0 / 1.122 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/1.013, allocations: 43.88 kB / 1.122 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/1.013, allocations: 17.55 kB / 1.122 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/1.013, allocations: 171.2 kB / 1.122 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/1.014, allocations: 0.6926 MB / 1.123 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.318e-05/1.014, allocations: 3.875 kB / 1.123 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/1.014, allocations: 14.75 kB / 1.123 GB, free: 28.31 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/1.014, allocations: 0 / 1.123 GB, free: 28.31 MB / 0.698 GB Notification: Performance of Templates: time 0.00343/1.017, allocations: 1.293 MB / 1.124 GB, free: 28.19 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)