Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001359/0.001359, allocations: 91.84 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.01301/0.01301, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.637/1.637, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.158/3.158, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 11 kB / 0.9158 GB, free: 33.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3888, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001158/0.39, allocations: 481 kB / 1.075 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.3917, allocations: 1.159 MB / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/0.3917, allocations: 0 / 1.076 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.3918, allocations: 7.875 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.979e-05/0.3919, allocations: 15.91 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.3924, allocations: 118 kB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3925, allocations: 103.8 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3926, allocations: 27.95 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.478e-05/0.3927, allocations: 39.89 kB / 1.076 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.3928, allocations: 35.83 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.3929, allocations: 8 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.681e-05/0.3929, allocations: 19.98 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.393, allocations: 7.984 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.292e-05/0.3931, allocations: 69.48 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.3932, allocations: 99.72 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.3933, allocations: 0 / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3933, allocations: 3.938 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3933, allocations: 4 kB / 1.076 GB, free: 5.34 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.0006276/0.3939, allocations: 401.3 kB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.394, allocations: 8.031 kB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/0.394, allocations: 12.84 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3942, allocations: 172.2 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.3942, allocations: 4.359 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.3942, allocations: 8.375 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.3944, allocations: 78.2 kB / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3945, allocations: 192 / 1.077 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3945, allocations: 7.938 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3945, allocations: 4 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.3947, allocations: 55.89 kB / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.3952, allocations: 340.6 kB / 1.077 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.3955, allocations: 70.55 kB / 1.077 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3956, allocations: 32.97 kB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.3956, allocations: 0 / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.3959, allocations: 95.36 kB / 1.078 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.3959, allocations: 0 / 1.078 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005195/0.3964, allocations: 161.8 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.3964, allocations: 59.34 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3966, allocations: 113.8 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.3966, allocations: 33.7 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.3967, allocations: 92.12 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.3967, allocations: 15.81 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.3968, allocations: 25.64 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3969, allocations: 322.8 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.3971, allocations: 59.95 kB / 1.078 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.3973, allocations: 88.25 kB / 1.078 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.3976, allocations: 158 kB / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.3976, allocations: 0 / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004505/0.3981, allocations: 227 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.3981, allocations: 33.83 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3981, allocations: 4 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3981, allocations: 4 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3983, allocations: 15.98 kB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3983, allocations: 0 / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.3985, allocations: 62.47 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.3986, allocations: 11.98 kB / 1.079 GB, free: 2.34 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.0001322/0.3987, allocations: 123.3 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.3987, allocations: 7.906 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.3988, allocations: 12.38 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3988, allocations: 0 / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3988, allocations: 0 / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3988, allocations: 4 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.3993, allocations: 390.4 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3993, allocations: 0 / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.3994, allocations: 16.05 kB / 1.079 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3994, allocations: 4 kB / 1.079 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.3994, allocations: 7.984 kB / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3994, allocations: 0 / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3994, allocations: 0 / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.3997, allocations: 219.3 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.3998, allocations: 85.03 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3998, allocations: 4 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.3999, allocations: 8 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.4, allocations: 11.92 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.4, allocations: 0 / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.244e-05/0.4, allocations: 99.27 kB / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4001, allocations: 0 / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002636/0.4003, allocations: 27.91 kB / 1.08 GB, free: 1.242 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.0001889/0.4005, allocations: 103.2 kB / 1.08 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004202/0.4009, allocations: 187.3 kB / 1.08 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.401, allocations: 3.938 kB / 1.08 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.4011, allocations: 51.91 kB / 1.08 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.4014, allocations: 17.33 kB / 1.08 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.4018, allocations: 183.3 kB / 1.08 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.4021, allocations: 0.6848 MB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.4021, allocations: 11.77 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.4021, allocations: 11.44 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.4021, allocations: 4 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of Templates: time 0.004344/0.4065, allocations: 1.323 MB / 1.082 GB, free: 14.62 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)