Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.673/2.673, allocations: 285 MB / 292.5 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 184.8 kB / 360.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001068, allocations: 92.58 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.295e-05/2.293e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8427, allocations: 115.2 MB / 0.9635 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2624/1.105, allocations: 137.5 MB / 1.098 GB, free: 3.027 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/1.105, allocations: 67.97 kB / 1.098 GB, free: 2.961 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01117/1.117, allocations: 2.076 MB / 1.1 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/1.117, allocations: 0.5625 kB / 1.1 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.446e-05/1.117, allocations: 4.719 kB / 1.1 GB, free: 0.9258 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.0008678/1.118, allocations: 394.7 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/1.118, allocations: 8.031 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/1.118, allocations: 7.422 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/1.118, allocations: 184.9 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/1.118, allocations: 4 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/1.118, allocations: 8.703 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000142/1.118, allocations: 20 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/1.118, allocations: 42.38 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.119, allocations: 0.7812 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/1.119, allocations: 0 / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/1.119, allocations: 4.625 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008606/1.119, allocations: 303.8 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/1.12, allocations: 53.72 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.665e-05/1.12, allocations: 16.98 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/1.12, allocations: 4 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/1.12, allocations: 72.97 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 5.45e-06/1.12, allocations: 3.938 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003586/1.12, allocations: 92.67 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/1.12, allocations: 51.41 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/1.121, allocations: 109 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/1.121, allocations: 25.7 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/1.121, allocations: 92.05 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/1.121, allocations: 15.81 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/1.121, allocations: 4 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.121, allocations: 326.8 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/1.121, allocations: 32 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/1.122, allocations: 68.28 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/1.122, allocations: 51.11 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.122, allocations: 4 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007687/1.123, allocations: 153.5 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-05/1.123, allocations: 30.64 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.123, allocations: 4 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.123, allocations: 2.625 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/1.123, allocations: 21.92 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/1.123, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/1.124, allocations: 52.02 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/1.124, allocations: 8 kB / 1.102 GB, free: 14.5 MB / 0.7136 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 () * 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 0.0001541/1.124, allocations: 120.7 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/1.124, allocations: 7.906 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.005e-05/1.124, allocations: 13.17 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.124, allocations: 0 / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.124, allocations: 4 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.124, allocations: 0 / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005942/1.125, allocations: 323 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.125, allocations: 0 / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/1.125, allocations: 17.39 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/1.125, allocations: 0 / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/1.125, allocations: 3.938 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/1.125, allocations: 3.188 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.125, allocations: 0 / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/1.125, allocations: 179.4 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/1.125, allocations: 81.02 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/1.126, allocations: 4 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/1.126, allocations: 15.98 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/1.126, allocations: 11.92 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/1.126, allocations: 4 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.9e-05/1.126, allocations: 85.8 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/1.126, allocations: 4 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006029/1.127, allocations: 24 kB / 1.103 GB, free: 13.54 MB / 0.7136 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) * 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.0002473/1.127, allocations: 107.2 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004773/1.127, allocations: 146.2 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.127, allocations: 4 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/1.127, allocations: 24 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/1.128, allocations: 13.14 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/1.128, allocations: 104.4 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/1.129, allocations: 0.7004 MB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.87e-05/1.129, allocations: 7.938 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/1.129, allocations: 11.44 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.129, allocations: 0 / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.007938/1.137, allocations: 1.169 MB / 1.105 GB, free: 11.25 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)