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.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001618/0.001619, allocations: 191.9 kB / 16.25 MB, free: 6.617 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.716/1.716, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.589/1.589, allocations: 251.7 MB / 0.5089 GB, free: 3.207 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.002472/0.002472, allocations: 71.89 kB / 0.6218 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6912, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.003808/0.6951, allocations: 1.53 MB / 0.7255 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006621/0.6958, allocations: 224.2 kB / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.6959, allocations: 0 / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.701e-05/0.6959, allocations: 0 / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.6961, allocations: 11.91 kB / 0.7257 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.6964, allocations: 23.92 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.6966, allocations: 67.78 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.6968, allocations: 11.98 kB / 0.7258 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.6969, allocations: 31.91 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.697, allocations: 31.84 kB / 0.7259 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.697, allocations: 8 kB / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.697, allocations: 4 kB / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.6971, allocations: 4 kB / 0.7259 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.067e-05/0.6972, allocations: 27.86 kB / 0.7259 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.6973, allocations: 59.77 kB / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.6973, allocations: 0 / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.723e-06/0.6974, allocations: 0 / 0.726 GB, free: 11.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.6974, allocations: 3.938 kB / 0.726 GB, free: 11.04 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008192/0.6982, allocations: 385.2 kB / 0.7264 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.889e-05/0.6983, allocations: 8.031 kB / 0.7264 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.628e-05/0.6983, allocations: 8.844 kB / 0.7264 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.6985, allocations: 172.2 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.6986, allocations: 4.375 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.6986, allocations: 4.375 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.6989, allocations: 70.16 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.6989, allocations: 192 / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.699, allocations: 15.88 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.699, allocations: 4 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.6992, allocations: 47.94 kB / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007727/0.7, allocations: 304.8 kB / 0.727 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.7005, allocations: 98.5 kB / 0.7271 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.7006, allocations: 32.95 kB / 0.7271 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.7006, allocations: 0 / 0.7271 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.7009, allocations: 87.3 kB / 0.7272 GB, free: 9.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.7009, allocations: 0 / 0.7272 GB, free: 9.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000488/0.7014, allocations: 133.5 kB / 0.7273 GB, free: 9.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.7015, allocations: 55.41 kB / 0.7274 GB, free: 9.457 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.7016, allocations: 117.8 kB / 0.7275 GB, free: 9.332 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.7017, allocations: 29.7 kB / 0.7275 GB, free: 9.297 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.7017, allocations: 88.14 kB / 0.7276 GB, free: 9.207 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.7018, allocations: 19.75 kB / 0.7276 GB, free: 9.188 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.7019, allocations: 29.7 kB / 0.7276 GB, free: 9.152 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.702, allocations: 326.8 kB / 0.7279 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.7022, allocations: 23.98 kB / 0.728 GB, free: 8.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.7023, allocations: 63.34 kB / 0.728 GB, free: 8.727 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.7025, allocations: 79.39 kB / 0.7281 GB, free: 8.637 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7025, allocations: 3.938 kB / 0.7281 GB, free: 8.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002642/0.7028, allocations: 117.5 kB / 0.7282 GB, free: 8.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.7028, allocations: 6.031 kB / 0.7282 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.7029, allocations: 0 / 0.7282 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.7029, allocations: 4 kB / 0.7282 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.703, allocations: 12.55 kB / 0.7282 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.703, allocations: 0 / 0.7282 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.835e-05/0.7031, allocations: 16.08 kB / 0.7282 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.7031, allocations: 4 kB / 0.7282 GB, free: 8.473 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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 0.0001368/0.7033, allocations: 125.7 kB / 0.7284 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.7033, allocations: 11.91 kB / 0.7284 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.7033, allocations: 8.312 kB / 0.7284 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.7034, allocations: 3.984 kB / 0.7284 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.7034, allocations: 0 / 0.7284 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.7034, allocations: 4 kB / 0.7284 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.704, allocations: 370.4 kB / 0.7287 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.704, allocations: 0 / 0.7287 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.704, allocations: 8 kB / 0.7288 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.704, allocations: 0 / 0.7288 GB, free: 7.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.7041, allocations: 3.984 kB / 0.7288 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.7041, allocations: 3.938 kB / 0.7288 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.7041, allocations: 0 / 0.7288 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.7044, allocations: 203.3 kB / 0.729 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.7045, allocations: 92.94 kB / 0.729 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.7045, allocations: 4 kB / 0.7291 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.7046, allocations: 11.92 kB / 0.7291 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.7047, allocations: 7.984 kB / 0.7291 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.7047, allocations: 7.938 kB / 0.7291 GB, free: 7.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.7048, allocations: 99.27 kB / 0.7292 GB, free: 7.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7048, allocations: 0 / 0.7292 GB, free: 7.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002303/0.705, allocations: 12 kB / 0.7292 GB, free: 7.414 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 (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 (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.0001726/0.7052, allocations: 99.25 kB / 0.7293 GB, free: 7.309 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.7055, allocations: 71.89 kB / 0.7293 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7055, allocations: 0 / 0.7293 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.7056, allocations: 40.16 kB / 0.7294 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.7059, allocations: 16.17 kB / 0.7294 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.7064, allocations: 194 kB / 0.7296 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.7067, allocations: 0.6885 MB / 0.7303 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.928e-05/0.7067, allocations: 3.859 kB / 0.7303 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.7068, allocations: 11.72 kB / 0.7303 GB, free: 6.234 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/0.7068, allocations: 0 / 0.7303 GB, free: 6.234 MB / 0.545 GB Notification: Performance of Templates: time 0.003482/0.7103, allocations: 0.8513 MB / 0.7311 GB, free: 5.395 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)