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.0008853/0.0008851, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.00743/0.00743, allocations: 170 kB / 16.26 MB, free: 6.613 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.607/1.607, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.023/3.023, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 10.28 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.39, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001154/0.3912, allocations: 481 kB / 1.075 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3929, allocations: 1.159 MB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.3929, allocations: 3.938 kB / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.393, allocations: 3.938 kB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.3931, allocations: 3.938 kB / 1.076 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.3938, allocations: 127.3 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.3939, allocations: 103.8 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3941, allocations: 19.97 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3942, allocations: 43.89 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.3943, allocations: 35.84 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.3944, allocations: 4 kB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.3945, allocations: 19.98 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.3945, allocations: 11.92 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3946, allocations: 65.53 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3948, allocations: 99.72 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3948, allocations: 3.938 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.506e-06/0.3948, allocations: 4 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.3949, allocations: 0 / 1.076 GB, free: 5.359 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.0007938/0.3957, allocations: 401.3 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.3957, allocations: 12.03 kB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.3958, allocations: 12.78 kB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.3959, allocations: 168.3 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.396, allocations: 4.375 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.396, allocations: 16.38 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.3963, allocations: 70.22 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3963, allocations: 4.125 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3963, allocations: 3.938 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3963, allocations: 0 / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.3965, allocations: 63.89 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.3971, allocations: 340.6 kB / 1.077 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.3973, allocations: 66.55 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3975, allocations: 40.95 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.3975, allocations: 0 / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.3978, allocations: 99.34 kB / 1.078 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.3978, allocations: 0 / 1.078 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004892/0.3983, allocations: 157.6 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.3984, allocations: 55.34 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3985, allocations: 121.8 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.3985, allocations: 33.7 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.3986, allocations: 88.14 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.3986, allocations: 15.8 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.3987, allocations: 21.72 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3988, allocations: 326.8 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.399, allocations: 51.97 kB / 1.078 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.3992, allocations: 96.25 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.3996, allocations: 153.9 kB / 1.079 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3996, allocations: 3.938 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004803/0.4001, allocations: 219.2 kB / 1.079 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/0.4001, allocations: 38.92 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.4001, allocations: 4 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4002, allocations: 0 / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.4003, allocations: 19.98 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.4003, allocations: 0 / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.4005, allocations: 55.8 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.4006, allocations: 8 kB / 1.079 GB, free: 2.363 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.0001398/0.4007, allocations: 131.6 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.4007, allocations: 11.89 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.4008, allocations: 8.375 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4008, allocations: 0 / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4008, allocations: 3.984 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4008, allocations: 8 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.4014, allocations: 382.4 kB / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4014, allocations: 4 kB / 1.079 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.872e-05/0.4014, allocations: 15.98 kB / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4015, allocations: 0 / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4015, allocations: 0 / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4015, allocations: 0 / 1.079 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4015, allocations: 3.938 kB / 1.079 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.4018, allocations: 231.3 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.4019, allocations: 81.11 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.4019, allocations: 0 / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-05/0.402, allocations: 7.984 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.4021, allocations: 15.92 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.4021, allocations: 4 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.505e-05/0.4022, allocations: 95.81 kB / 1.08 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4022, allocations: 0 / 1.08 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002734/0.4025, allocations: 23.91 kB / 1.08 GB, free: 1.258 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.0002022/0.4027, allocations: 109.5 kB / 1.08 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004202/0.4031, allocations: 195.7 kB / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4031, allocations: 0 / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.4032, allocations: 43.91 kB / 1.08 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.4035, allocations: 16.31 kB / 1.08 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.4039, allocations: 179.5 kB / 1.08 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.4043, allocations: 0.6888 MB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.778e-05/0.4043, allocations: 11.72 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.4044, allocations: 15.44 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.4044, allocations: 0 / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.004149/0.4085, allocations: 1.329 MB / 1.082 GB, free: 14.63 MB / 0.8419 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)