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.00162/0.001619, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001376/0.001376, allocations: 193 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.1 MB / 222 MB, free: 4.738 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.576/1.576, allocations: 251.6 MB / 0.5088 GB, free: 3.375 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.002034/0.002034, allocations: 63.92 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6984/0.7005, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.003293/0.7038, allocations: 1.53 MB / 0.7253 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005305/0.7044, allocations: 220.2 kB / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.7044, allocations: 7.938 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.7045, allocations: 0 / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.177e-05/0.7046, allocations: 7.938 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.7048, allocations: 19.92 kB / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.078e-05/0.7049, allocations: 59.83 kB / 0.7256 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.705, allocations: 12 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.7051, allocations: 23.86 kB / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.7051, allocations: 27.91 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.7052, allocations: 11.94 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.7052, allocations: 0 / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.7052, allocations: 11.98 kB / 0.7257 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.7053, allocations: 23.86 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.7054, allocations: 51.78 kB / 0.7258 GB, free: 11.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.7054, allocations: 0 / 0.7258 GB, free: 11.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.12e-07/0.7054, allocations: 0 / 0.7258 GB, free: 11.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.7054, allocations: 4 kB / 0.7258 GB, free: 11.14 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.0006382/0.706, allocations: 381.3 kB / 0.7261 GB, free: 10.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.745e-05/0.7061, allocations: 8.031 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.7062, allocations: 8.844 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.7063, allocations: 176.2 kB / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.7063, allocations: 8.312 kB / 0.7263 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.7064, allocations: 4.375 kB / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.7066, allocations: 70.2 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.7066, allocations: 192 / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.7066, allocations: 3.938 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7066, allocations: 0 / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.7068, allocations: 51.95 kB / 0.7265 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.7074, allocations: 300.6 kB / 0.7267 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.7079, allocations: 102.5 kB / 0.7268 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.708, allocations: 28.95 kB / 0.7269 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.708, allocations: 0 / 0.7269 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.7082, allocations: 83.38 kB / 0.727 GB, free: 9.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.7082, allocations: 0 / 0.727 GB, free: 9.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004084/0.7086, allocations: 129.6 kB / 0.7271 GB, free: 9.645 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.7087, allocations: 51.41 kB / 0.7271 GB, free: 9.582 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.7088, allocations: 125.7 kB / 0.7272 GB, free: 9.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.7088, allocations: 25.7 kB / 0.7273 GB, free: 9.418 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.7089, allocations: 92.14 kB / 0.7274 GB, free: 9.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.7089, allocations: 19.73 kB / 0.7274 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.709, allocations: 29.72 kB / 0.7274 GB, free: 9.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002376/0.7092, allocations: 322.8 kB / 0.7277 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.7093, allocations: 27.98 kB / 0.7277 GB, free: 8.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.7095, allocations: 59.66 kB / 0.7278 GB, free: 8.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.7097, allocations: 83.33 kB / 0.7279 GB, free: 8.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.7097, allocations: 0 / 0.7279 GB, free: 8.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002519/0.7099, allocations: 113.5 kB / 0.728 GB, free: 8.637 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7099, allocations: 4.188 kB / 0.728 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.71, allocations: 4 kB / 0.728 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.71, allocations: 4 kB / 0.728 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.7101, allocations: 19.98 kB / 0.728 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.08e-05/0.7101, allocations: 4 kB / 0.728 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.626e-05/0.7102, allocations: 11.98 kB / 0.728 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.7102, allocations: 0 / 0.728 GB, free: 8.59 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,edge1.y,edge1.u,$PRE.edge1.u,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/0.7103, allocations: 133.8 kB / 0.7282 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.7103, allocations: 3.906 kB / 0.7282 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.7104, allocations: 12.38 kB / 0.7282 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7104, allocations: 0 / 0.7282 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.7104, allocations: 0 / 0.7282 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7104, allocations: 0 / 0.7282 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.7109, allocations: 374.4 kB / 0.7285 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7109, allocations: 0 / 0.7285 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.711, allocations: 4 kB / 0.7285 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.711, allocations: 0 / 0.7285 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.711, allocations: 3.984 kB / 0.7285 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.711, allocations: 4 kB / 0.7285 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.711, allocations: 3.938 kB / 0.7285 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.7114, allocations: 195.4 kB / 0.7287 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.7114, allocations: 81.09 kB / 0.7288 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.7115, allocations: 0 / 0.7288 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.7116, allocations: 11.98 kB / 0.7288 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.7116, allocations: 19.86 kB / 0.7288 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.7117, allocations: 0 / 0.7288 GB, free: 7.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.066e-05/0.7117, allocations: 91.27 kB / 0.7289 GB, free: 7.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7117, allocations: 0 / 0.7289 GB, free: 7.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002247/0.7119, allocations: 19.84 kB / 0.7289 GB, free: 7.551 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.7121, allocations: 107.2 kB / 0.729 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.7125, allocations: 72.34 kB / 0.7291 GB, free: 7.367 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7125, allocations: 0 / 0.7291 GB, free: 7.367 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.7126, allocations: 39.91 kB / 0.7292 GB, free: 7.328 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.7129, allocations: 18.86 kB / 0.7292 GB, free: 7.312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.7133, allocations: 168 kB / 0.7293 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.7137, allocations: 0.6848 MB / 0.73 GB, free: 6.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.7137, allocations: 15.84 kB / 0.73 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.7137, allocations: 11.44 kB / 0.73 GB, free: 6.383 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.7137, allocations: 0 / 0.73 GB, free: 6.383 MB / 0.545 GB Notification: Performance of Templates: time 0.003009/0.7168, allocations: 0.775 MB / 0.7308 GB, free: 5.617 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (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)