Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.13/2.13, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 183.4 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.429/2.429, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 83.11 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007576/0.0007579, allocations: 17.34 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2479, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2453/0.4933, allocations: 131.6 MB / 1.028 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.4937, allocations: 79.95 kB / 1.028 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003996/0.4977, allocations: 0.9555 MB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4977, allocations: 4 kB / 1.029 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.4978, allocations: 4 kB / 1.029 GB, free: 12.65 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006863/0.4985, allocations: 371.3 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.4985, allocations: 12.03 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.4986, allocations: 4.844 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.4988, allocations: 172.3 kB / 1.03 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.4988, allocations: 8.375 kB / 1.03 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.4988, allocations: 12.25 kB / 1.03 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.4991, allocations: 70.2 kB / 1.03 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4992, allocations: 4.188 kB / 1.03 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.4992, allocations: 7.938 kB / 1.03 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4992, allocations: 0 / 1.03 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.4995, allocations: 59.95 kB / 1.03 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.5002, allocations: 300.8 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.5009, allocations: 118.5 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.5011, allocations: 40.95 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.5012, allocations: 0 / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.5015, allocations: 87.28 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.5015, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0007001/0.5022, allocations: 145.6 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.5023, allocations: 51.41 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.5025, allocations: 125.7 kB / 1.031 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.5025, allocations: 29.7 kB / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.5026, allocations: 92.12 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.5026, allocations: 11.81 kB / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.5027, allocations: 4 kB / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5028, allocations: 326.8 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.503, allocations: 27.98 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.5032, allocations: 67.34 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.5034, allocations: 35.97 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5035, allocations: 0 / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004659/0.5039, allocations: 125.5 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.504, allocations: 8 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.504, allocations: 320 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.504, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.5042, allocations: 19.92 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.5042, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.5044, allocations: 24.08 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.5044, allocations: 7.984 kB / 1.031 GB, free: 10.09 MB / 0.6823 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001251/0.5045, allocations: 123.8 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.5046, allocations: 7.984 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.5046, allocations: 8.375 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5046, allocations: 7.938 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5046, allocations: 0 / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5047, allocations: 7.984 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007406/0.5054, allocations: 374.3 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5054, allocations: 0 / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.5055, allocations: 19.98 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.5056, allocations: 0 / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.5056, allocations: 0 / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5056, allocations: 0.5625 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5056, allocations: 3.938 kB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.5061, allocations: 211.4 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.5062, allocations: 81.02 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.5062, allocations: 3.984 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.5064, allocations: 15.98 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.5065, allocations: 15.86 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.5065, allocations: 4 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001211/0.5066, allocations: 95.27 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5066, allocations: 0 / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002926/0.5069, allocations: 12 kB / 1.032 GB, free: 9.02 MB / 0.6823 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.0001508/0.5071, allocations: 99.25 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.5076, allocations: 87.88 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5076, allocations: 0 / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.5078, allocations: 43.91 kB / 1.033 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.5082, allocations: 11.98 kB / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.5087, allocations: 174.7 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.509, allocations: 0.6926 MB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.458e-05/0.5091, allocations: 7.859 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.5092, allocations: 11.44 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/0.5092, allocations: 4 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of Templates: time 0.003916/0.5131, allocations: 0.7283 MB / 1.034 GB, free: 7.109 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)