Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_3.0.0_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_3.0.0_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.001292/0.001292, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001883/0.001883, allocations: 192.4 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 70.09 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4204, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.00299/0.4235, allocations: 0.8021 MB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.4256, allocations: 1.151 MB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.4257, allocations: 11.94 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.515e-05/0.4258, allocations: 3.938 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.426, allocations: 3.938 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007567/0.4267, allocations: 119 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.427, allocations: 123.8 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.4271, allocations: 19.97 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.4273, allocations: 39.92 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.4274, allocations: 51.8 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.755e-05/0.4274, allocations: 12 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.4276, allocations: 24 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.4276, allocations: 11.92 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.906e-05/0.4277, allocations: 55.83 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.428, allocations: 103.7 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.428, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 6.142e-06/0.428, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.428, allocations: 3.938 kB / 1.07 GB, free: 8.227 MB / 0.8262 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.000865/0.4289, allocations: 425.2 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.429, allocations: 8.031 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.429, allocations: 12.78 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.4292, allocations: 172.4 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.4292, allocations: 8.375 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.4293, allocations: 16.36 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.4295, allocations: 58.23 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4296, allocations: 192 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.4296, allocations: 11.92 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4296, allocations: 0 / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.4298, allocations: 43.91 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.4305, allocations: 348.5 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.4307, allocations: 54.61 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.4308, allocations: 36.91 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.4308, allocations: 4 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003171/0.4312, allocations: 83.36 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/0.4312, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005088/0.4317, allocations: 137.5 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.4317, allocations: 63.41 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.4319, allocations: 117.8 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.4319, allocations: 33.7 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.432, allocations: 96.03 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.4321, allocations: 15.8 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.824e-05/0.4322, allocations: 41.64 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.4323, allocations: 326.8 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.4325, allocations: 51.97 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.4327, allocations: 84.69 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.433, allocations: 150.1 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.433, allocations: 0 / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005284/0.4336, allocations: 211.1 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.723e-05/0.4337, allocations: 35.11 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4337, allocations: 0 / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/0.4337, allocations: 8.125 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.4339, allocations: 11.98 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4339, allocations: 0 / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.4341, allocations: 39.89 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.4342, allocations: 8 kB / 1.073 GB, free: 5.289 MB / 0.8262 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.4343, allocations: 123.6 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.4344, allocations: 15.89 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.4344, allocations: 12.38 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4344, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.4344, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4344, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.4351, allocations: 382.4 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4351, allocations: 0 / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.4352, allocations: 11.98 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4352, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.4352, allocations: 4 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.89e-05/0.4352, allocations: 4.062 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4352, allocations: 0 / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.4356, allocations: 211.3 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.4357, allocations: 89.02 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.4357, allocations: 3.938 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.4358, allocations: 7.984 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.4359, allocations: 15.91 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.4359, allocations: 4 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.301e-05/0.436, allocations: 95.31 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.436, allocations: 4 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000291/0.4363, allocations: 20 kB / 1.074 GB, free: 4.207 MB / 0.8262 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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 (8): * Single equations (assignments): 6 * 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.0002335/0.4365, allocations: 114.4 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.4369, allocations: 175.3 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.437, allocations: 0 / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.4371, allocations: 43.91 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.4374, allocations: 16.17 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.4379, allocations: 178.4 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4382, allocations: 0.6885 MB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.298e-05/0.4382, allocations: 7.781 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.4383, allocations: 15.44 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4383, allocations: 0 / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.004701/0.443, allocations: 1.388 MB / 1.076 GB, free: 1.539 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)