Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.19/2.19, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001291/0.001291, allocations: 174 kB / 326.2 MB, free: 2.891 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.458/2.458, allocations: 205.4 MB / 0.5772 GB, free: 20.84 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.0009385/0.0009379, allocations: 92.42 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004822, allocations: 20.94 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2711/0.4802, allocations: 131.7 MB / 1.028 GB, free: 13.73 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.4806, allocations: 71.95 kB / 1.028 GB, free: 13.66 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.00415/0.4847, allocations: 0.975 MB / 1.029 GB, free: 12.68 MB / 0.6824 GB Notification: Performance of FrontEnd: time 4.258e-06/0.4848, allocations: 7.984 kB / 1.029 GB, free: 12.68 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.4848, allocations: 0 / 1.029 GB, free: 12.68 MB / 0.6824 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.0007214/0.4855, allocations: 371.2 kB / 1.029 GB, free: 12.26 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4856, allocations: 12.03 kB / 1.029 GB, free: 12.25 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.4857, allocations: 12.78 kB / 1.029 GB, free: 12.24 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.4858, allocations: 176.3 kB / 1.03 GB, free: 12.03 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.4859, allocations: 8.312 kB / 1.03 GB, free: 12.02 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.4859, allocations: 8.312 kB / 1.03 GB, free: 12.01 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.4862, allocations: 70.22 kB / 1.03 GB, free: 11.94 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4863, allocations: 192 / 1.03 GB, free: 11.94 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.4863, allocations: 7.938 kB / 1.03 GB, free: 11.93 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.4863, allocations: 4 kB / 1.03 GB, free: 11.93 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.4867, allocations: 59.95 kB / 1.03 GB, free: 11.87 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.4874, allocations: 312.6 kB / 1.03 GB, free: 11.51 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.4881, allocations: 122.5 kB / 1.03 GB, free: 11.38 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.4883, allocations: 28.97 kB / 1.03 GB, free: 11.35 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.4884, allocations: 0 / 1.03 GB, free: 11.35 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.4887, allocations: 99.38 kB / 1.03 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.4887, allocations: 0 / 1.03 GB, free: 11.24 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7): time 0.0006915/0.4894, allocations: 137.6 kB / 1.03 GB, free: 11.1 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.4895, allocations: 59.39 kB / 1.031 GB, free: 11.03 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.4897, allocations: 117.8 kB / 1.031 GB, free: 10.91 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.4897, allocations: 29.7 kB / 1.031 GB, free: 10.87 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.4898, allocations: 88.08 kB / 1.031 GB, free: 10.78 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.4898, allocations: 23.78 kB / 1.031 GB, free: 10.76 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.4899, allocations: 4 kB / 1.031 GB, free: 10.75 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.49, allocations: 323.2 kB / 1.031 GB, free: 10.43 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.4902, allocations: 35.97 kB / 1.031 GB, free: 10.39 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.4905, allocations: 63.34 kB / 1.031 GB, free: 10.32 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.4907, allocations: 31.98 kB / 1.031 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4907, allocations: 0 / 1.031 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004899/0.4912, allocations: 137.4 kB / 1.031 GB, free: 10.15 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4912, allocations: 4 kB / 1.031 GB, free: 10.14 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4912, allocations: 3.984 kB / 1.031 GB, free: 10.14 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.4913, allocations: 4 kB / 1.031 GB, free: 10.14 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.4914, allocations: 15.98 kB / 1.031 GB, free: 10.12 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4914, allocations: 4.094 kB / 1.031 GB, free: 10.12 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.4916, allocations: 15.98 kB / 1.031 GB, free: 10.1 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.4917, allocations: 4 kB / 1.031 GB, free: 10.1 MB / 0.6824 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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.0001327/0.4918, allocations: 125.7 kB / 1.032 GB, free: 9.965 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.4918, allocations: 7.906 kB / 1.032 GB, free: 9.957 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.4919, allocations: 12.31 kB / 1.032 GB, free: 9.941 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4919, allocations: 0 / 1.032 GB, free: 9.941 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4919, allocations: 4 kB / 1.032 GB, free: 9.938 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4919, allocations: 3.984 kB / 1.032 GB, free: 9.934 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/0.4927, allocations: 370.5 kB / 1.032 GB, free: 9.516 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4927, allocations: 0 / 1.032 GB, free: 9.516 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.4928, allocations: 15.98 kB / 1.032 GB, free: 9.5 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.4929, allocations: 7.938 kB / 1.032 GB, free: 9.492 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.4929, allocations: 0 / 1.032 GB, free: 9.492 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.4929, allocations: 3.938 kB / 1.032 GB, free: 9.488 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4929, allocations: 0 / 1.032 GB, free: 9.488 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.4934, allocations: 207.4 kB / 1.032 GB, free: 9.27 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.4935, allocations: 81.11 kB / 1.032 GB, free: 9.172 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.4935, allocations: 0 / 1.032 GB, free: 9.172 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.4937, allocations: 23.92 kB / 1.032 GB, free: 9.148 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.4938, allocations: 11.97 kB / 1.032 GB, free: 9.137 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.4938, allocations: 4 kB / 1.032 GB, free: 9.133 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 8.026e-05/0.4939, allocations: 87.47 kB / 1.032 GB, free: 9.047 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4939, allocations: 288 / 1.032 GB, free: 9.047 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0003391/0.4943, allocations: 19.91 kB / 1.032 GB, free: 9.027 MB / 0.6824 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 (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.0001547/0.4944, allocations: 103.2 kB / 1.032 GB, free: 8.918 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.4949, allocations: 83.89 kB / 1.033 GB, free: 8.836 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4949, allocations: 0 / 1.033 GB, free: 8.836 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.4952, allocations: 47.91 kB / 1.033 GB, free: 8.789 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.4956, allocations: 10.25 kB / 1.033 GB, free: 8.781 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006408/0.4962, allocations: 194.6 kB / 1.033 GB, free: 8.562 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4965, allocations: 0.6926 MB / 1.033 GB, free: 7.844 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 5.861e-05/0.4966, allocations: 4 kB / 1.033 GB, free: 7.84 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.4967, allocations: 11.44 kB / 1.033 GB, free: 7.828 MB / 0.6824 GB Notification: Performance of SimCode: time 1.784e-06/0.4967, allocations: 0 / 1.033 GB, free: 7.828 MB / 0.6824 GB Notification: Performance of Templates: time 0.004106/0.5008, allocations: 0.7663 MB / 1.034 GB, free: 7.066 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)