Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.695/1.695, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 190.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007449/0.0007448, allocations: 99.27 kB / 0.7808 GB, free: 43.4 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004595, allocations: 16.67 kB / 0.9088 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5604, allocations: 120.3 MB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.7353, allocations: 141.6 MB / 1.165 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.7356, allocations: 75.95 kB / 1.165 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006677/0.7423, allocations: 2.108 MB / 1.167 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.447e-06/0.7423, allocations: 1.938 kB / 1.167 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.7423, allocations: 0 / 1.167 GB, free: 14.48 MB / 0.7448 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.000662/0.743, allocations: 410.7 kB / 1.167 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.7431, allocations: 12.03 kB / 1.167 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/0.7432, allocations: 8.844 kB / 1.167 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.7434, allocations: 180.2 kB / 1.167 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.7434, allocations: 4.375 kB / 1.167 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.7434, allocations: 8.375 kB / 1.167 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.7437, allocations: 66.23 kB / 1.167 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.7437, allocations: 8.172 kB / 1.167 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.7437, allocations: 3.938 kB / 1.167 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7438, allocations: 0 / 1.167 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.744, allocations: 47.91 kB / 1.167 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/0.7446, allocations: 330.2 kB / 1.168 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.7448, allocations: 66.55 kB / 1.168 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.745, allocations: 48.89 kB / 1.168 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.745, allocations: 0 / 1.168 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/0.7453, allocations: 95.38 kB / 1.168 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.7453, allocations: 0 / 1.168 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.000506/0.7458, allocations: 157.5 kB / 1.168 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.7459, allocations: 55.41 kB / 1.168 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.7461, allocations: 122.8 kB / 1.168 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.7461, allocations: 29.7 kB / 1.168 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.7462, allocations: 99.98 kB / 1.168 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.7462, allocations: 11.8 kB / 1.168 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.7463, allocations: 8 kB / 1.168 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.7465, allocations: 318.8 kB / 1.169 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.7466, allocations: 59.89 kB / 1.169 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.7468, allocations: 98.12 kB / 1.169 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.7472, allocations: 149.8 kB / 1.169 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.7472, allocations: 4 kB / 1.169 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004405/0.7476, allocations: 219.1 kB / 1.169 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.7477, allocations: 33.7 kB / 1.169 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.7477, allocations: 4 kB / 1.169 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7477, allocations: 0 / 1.169 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.7478, allocations: 15.98 kB / 1.169 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.7479, allocations: 4.125 kB / 1.169 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.7481, allocations: 55.95 kB / 1.169 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.7481, allocations: 8 kB / 1.169 GB, free: 11.52 MB / 0.7448 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 0.0001361/0.7482, allocations: 129.7 kB / 1.169 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.7483, allocations: 9.5 kB / 1.169 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.7483, allocations: 12.38 kB / 1.169 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7483, allocations: 0 / 1.169 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.7483, allocations: 0 / 1.169 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7483, allocations: 0 / 1.169 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.7489, allocations: 390.4 kB / 1.17 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7489, allocations: 0 / 1.17 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.7489, allocations: 15.98 kB / 1.17 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7489, allocations: 0 / 1.17 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.749, allocations: 0 / 1.17 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.749, allocations: 0 / 1.17 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.749, allocations: 4 kB / 1.17 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.7493, allocations: 219.7 kB / 1.17 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.7494, allocations: 81.02 kB / 1.17 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.7494, allocations: 12 kB / 1.17 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.7495, allocations: 7.984 kB / 1.17 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.7496, allocations: 7.984 kB / 1.17 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.7496, allocations: 15.81 kB / 1.17 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.61e-05/0.7496, allocations: 96.19 kB / 1.17 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7497, allocations: 0 / 1.17 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002587/0.7499, allocations: 28 kB / 1.17 GB, free: 10.41 MB / 0.7448 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.0002023/0.7501, allocations: 117.6 kB / 1.17 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003911/0.7505, allocations: 187.2 kB / 1.171 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7505, allocations: 0 / 1.171 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.7507, allocations: 44.23 kB / 1.171 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.751, allocations: 15.98 kB / 1.171 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.7514, allocations: 175.8 kB / 1.171 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.7517, allocations: 0.6897 MB / 1.172 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.59e-05/0.7517, allocations: 7.984 kB / 1.172 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.7517, allocations: 11.44 kB / 1.172 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.7517, allocations: 0 / 1.172 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of Templates: time 0.003601/0.7553, allocations: 1.294 MB / 1.173 GB, free: 7.828 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)