Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.774/1.774, allocations: 251.9 MB / 0.51 GB, free: 4.812 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005981/0.0005982, allocations: 19.28 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.636/0.6366, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001709/0.6383, allocations: 1.167 MB / 0.7291 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004149/0.6388, allocations: 224.2 kB / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.6388, allocations: 0 / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.6389, allocations: 3.938 kB / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.6389, allocations: 11.98 kB / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.6391, allocations: 15.97 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.6392, allocations: 35.91 kB / 0.7294 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.6393, allocations: 11.97 kB / 0.7294 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.38e-05/0.6394, allocations: 19.92 kB / 0.7294 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.6394, allocations: 23.92 kB / 0.7295 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.6395, allocations: 0 / 0.7295 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.6395, allocations: 4 kB / 0.7295 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.6395, allocations: 7.984 kB / 0.7295 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.6395, allocations: 37.64 kB / 0.7295 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.377e-05/0.6396, allocations: 43.89 kB / 0.7295 GB, free: 9.812 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.6396, allocations: 0 / 0.7295 GB, free: 9.812 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6396, allocations: 4 kB / 0.7295 GB, free: 9.809 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.6396, allocations: 0 / 0.7295 GB, free: 9.809 MB / 0.545 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.0005872/0.6402, allocations: 377 kB / 0.7299 GB, free: 9.395 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.6403, allocations: 8.031 kB / 0.7299 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.6403, allocations: 11.91 kB / 0.7299 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.6405, allocations: 175 kB / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.6405, allocations: 8 kB / 0.7301 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.6405, allocations: 0 / 0.7301 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.6407, allocations: 77.59 kB / 0.7302 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6408, allocations: 0 / 0.7302 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6408, allocations: 0 / 0.7302 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.6408, allocations: 4 kB / 0.7302 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.641, allocations: 55.95 kB / 0.7302 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.6416, allocations: 304.7 kB / 0.7305 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.6421, allocations: 130.5 kB / 0.7306 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.6421, allocations: 0 / 0.7306 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.6423, allocations: 83.48 kB / 0.7307 GB, free: 8.438 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.6423, allocations: 3.938 kB / 0.7307 GB, free: 8.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004865/0.6428, allocations: 141.5 kB / 0.7309 GB, free: 8.289 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.6429, allocations: 55.39 kB / 0.7309 GB, free: 8.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/0.643, allocations: 122 kB / 0.731 GB, free: 8.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.643, allocations: 29.7 kB / 0.7311 GB, free: 8.055 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.6431, allocations: 92.14 kB / 0.7312 GB, free: 7.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.6431, allocations: 23.8 kB / 0.7312 GB, free: 7.938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.6431, allocations: 4 kB / 0.7312 GB, free: 7.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6432, allocations: 314.8 kB / 0.7315 GB, free: 7.617 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.6433, allocations: 31.97 kB / 0.7315 GB, free: 7.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.6435, allocations: 63.41 kB / 0.7316 GB, free: 7.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.6436, allocations: 35.92 kB / 0.7316 GB, free: 7.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6436, allocations: 0 / 0.7316 GB, free: 7.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002779/0.6439, allocations: 121.5 kB / 0.7317 GB, free: 7.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.6439, allocations: 7.984 kB / 0.7317 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.6439, allocations: 4 kB / 0.7317 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6439, allocations: 0 / 0.7317 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.644, allocations: 16.09 kB / 0.7317 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.644, allocations: 7.922 kB / 0.7318 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.274e-05/0.6441, allocations: 23.94 kB / 0.7318 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.6441, allocations: 7.938 kB / 0.7318 GB, free: 7.285 MB / 0.545 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 8.837e-05/0.6442, allocations: 116.9 kB / 0.7319 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.6443, allocations: 11.91 kB / 0.7319 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.6443, allocations: 12.36 kB / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6443, allocations: 4 kB / 0.7319 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6443, allocations: 0 / 0.7319 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6443, allocations: 0.5625 kB / 0.7319 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.6448, allocations: 374.4 kB / 0.7323 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6448, allocations: 0 / 0.7323 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.6449, allocations: 15.98 kB / 0.7323 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6449, allocations: 0 / 0.7323 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.6449, allocations: 0 / 0.7323 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.6449, allocations: 8 kB / 0.7323 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6449, allocations: 3.953 kB / 0.7323 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.6452, allocations: 219.7 kB / 0.7325 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.6452, allocations: 81.02 kB / 0.7326 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.6453, allocations: 0 / 0.7326 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.6454, allocations: 19.98 kB / 0.7326 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.6454, allocations: 11.94 kB / 0.7326 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.6455, allocations: 4 kB / 0.7326 GB, free: 6.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.6455, allocations: 91.27 kB / 0.7327 GB, free: 6.234 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6455, allocations: 4 kB / 0.7327 GB, free: 6.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002325/0.6458, allocations: 11.94 kB / 0.7327 GB, free: 6.219 MB / 0.545 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.000135/0.6459, allocations: 107.2 kB / 0.7328 GB, free: 6.105 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.6462, allocations: 91.94 kB / 0.7329 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6462, allocations: 0 / 0.7329 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.6463, allocations: 36.17 kB / 0.733 GB, free: 5.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.6465, allocations: 11.98 kB / 0.733 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.6469, allocations: 166.5 kB / 0.7331 GB, free: 5.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.6472, allocations: 0.7012 MB / 0.7338 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.6472, allocations: 7.859 kB / 0.7338 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.6473, allocations: 7.438 kB / 0.7338 GB, free: 5.035 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6473, allocations: 0 / 0.7338 GB, free: 5.035 MB / 0.545 GB Notification: Performance of Templates: time 0.002668/0.65, allocations: 0.7302 MB / 0.7345 GB, free: 4.312 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) Environment - environmentSimulation: