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.001638/0.001638, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001613/0.001613, allocations: 191.9 kB / 16.14 MB, free: 6.703 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.823/1.823, allocations: 205.1 MB / 222 MB, free: 4.766 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.756/1.756, allocations: 251.6 MB / 0.5088 GB, free: 3.305 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.001512/0.001512, allocations: 67.89 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.65/0.6515, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00283/0.6544, allocations: 1.538 MB / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004765/0.6549, allocations: 220.2 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.6549, allocations: 0 / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.94e-05/0.655, allocations: 3.984 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.298e-05/0.6551, allocations: 11.94 kB / 0.7255 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.6553, allocations: 23.86 kB / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.6554, allocations: 63.83 kB / 0.7256 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.6555, allocations: 12 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.6556, allocations: 19.92 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.6556, allocations: 31.84 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.6557, allocations: 4 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.6557, allocations: 4 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.6557, allocations: 7.984 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.6558, allocations: 27.8 kB / 0.7257 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.6559, allocations: 51.84 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.6559, allocations: 4 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.001e-06/0.6559, allocations: 0 / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.6559, allocations: 0 / 0.7258 GB, free: 11.12 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.0006317/0.6565, allocations: 381.2 kB / 0.7261 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.6566, allocations: 12.03 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.6566, allocations: 4.844 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.6568, allocations: 176.2 kB / 0.7263 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.6568, allocations: 8.375 kB / 0.7263 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.6568, allocations: 12.36 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.6571, allocations: 62.23 kB / 0.7264 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.6571, allocations: 8.062 kB / 0.7264 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.6571, allocations: 7.938 kB / 0.7264 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6571, allocations: 3.984 kB / 0.7264 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.6573, allocations: 47.95 kB / 0.7265 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.6579, allocations: 308.7 kB / 0.7268 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.6583, allocations: 102.6 kB / 0.7269 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.6584, allocations: 32.95 kB / 0.7269 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.6585, allocations: 0 / 0.7269 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.6587, allocations: 79.38 kB / 0.727 GB, free: 9.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.6587, allocations: 0 / 0.727 GB, free: 9.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004303/0.6592, allocations: 129.5 kB / 0.7271 GB, free: 9.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.6592, allocations: 55.41 kB / 0.7271 GB, free: 9.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.6594, allocations: 121.8 kB / 0.7273 GB, free: 9.402 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.6594, allocations: 25.7 kB / 0.7273 GB, free: 9.371 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.6594, allocations: 92.12 kB / 0.7274 GB, free: 9.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.6595, allocations: 15.75 kB / 0.7274 GB, free: 9.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.6595, allocations: 33.7 kB / 0.7274 GB, free: 9.223 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6597, allocations: 322.8 kB / 0.7277 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.6598, allocations: 32.36 kB / 0.7278 GB, free: 8.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.6599, allocations: 63.28 kB / 0.7278 GB, free: 8.793 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.6602, allocations: 79.39 kB / 0.7279 GB, free: 8.703 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6602, allocations: 0 / 0.7279 GB, free: 8.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002686/0.6605, allocations: 113.4 kB / 0.728 GB, free: 8.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.6605, allocations: 9.875 kB / 0.728 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6605, allocations: 0 / 0.728 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6605, allocations: 0 / 0.728 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.6606, allocations: 20.08 kB / 0.728 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6606, allocations: 4 kB / 0.728 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.085e-05/0.6607, allocations: 11.98 kB / 0.728 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.6607, allocations: 0 / 0.728 GB, free: 8.543 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.0001171/0.6609, allocations: 129.7 kB / 0.7282 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.6609, allocations: 3.906 kB / 0.7282 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.6609, allocations: 12.38 kB / 0.7282 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.6609, allocations: 4 kB / 0.7282 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6609, allocations: 0 / 0.7282 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.661, allocations: 3.938 kB / 0.7282 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.6615, allocations: 370.7 kB / 0.7285 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6615, allocations: 0 / 0.7285 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.6615, allocations: 4 kB / 0.7285 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6615, allocations: 3.984 kB / 0.7286 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.6616, allocations: 4 kB / 0.7286 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6616, allocations: 7.938 kB / 0.7286 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6616, allocations: 80 / 0.7286 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.6619, allocations: 195.4 kB / 0.7288 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.6619, allocations: 88.94 kB / 0.7288 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.662, allocations: 4.062 kB / 0.7288 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.6621, allocations: 23.92 kB / 0.7289 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.6622, allocations: 7.984 kB / 0.7289 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.6622, allocations: 4 kB / 0.7289 GB, free: 7.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.45e-05/0.6622, allocations: 95.39 kB / 0.729 GB, free: 7.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6622, allocations: 0 / 0.729 GB, free: 7.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002323/0.6625, allocations: 16.28 kB / 0.729 GB, free: 7.484 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.0001292/0.6626, allocations: 95.25 kB / 0.7291 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.6629, allocations: 79.88 kB / 0.7291 GB, free: 7.305 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6629, allocations: 3.938 kB / 0.7292 GB, free: 7.301 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.663, allocations: 31.98 kB / 0.7292 GB, free: 7.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.6634, allocations: 15.98 kB / 0.7292 GB, free: 7.254 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.6638, allocations: 184 kB / 0.7294 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.6641, allocations: 0.6887 MB / 0.73 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.6642, allocations: 11.8 kB / 0.7301 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.6642, allocations: 11.44 kB / 0.7301 GB, free: 6.309 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.6642, allocations: 4 kB / 0.7301 GB, free: 6.305 MB / 0.545 GB Notification: Performance of Templates: time 0.003028/0.6673, allocations: 0.8 MB / 0.7309 GB, free: 5.512 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)