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.01059/0.01059, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.001694/0.001694, allocations: 197.9 kB / 16.68 MB, free: 5.953 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.699/1.699, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.58/1.58, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.002338/0.002338, allocations: 72.36 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3065, allocations: 104.7 MB / 0.8281 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002968/0.3095, allocations: 1.466 MB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005809/0.3101, allocations: 228.2 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.3102, allocations: 0 / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.3103, allocations: 7.922 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.507e-05/0.3104, allocations: 7.875 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.3106, allocations: 27.91 kB / 0.8298 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.3107, allocations: 67.77 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3109, allocations: 12 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.3109, allocations: 23.92 kB / 0.8299 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.311, allocations: 31.84 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.3111, allocations: 4 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.3111, allocations: 4 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.3111, allocations: 11.98 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.3112, allocations: 39.8 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.3113, allocations: 59.72 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3113, allocations: 0 / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3113, allocations: 0 / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3113, allocations: 0 / 0.83 GB, free: 14.2 MB / 0.6544 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.0007222/0.3121, allocations: 375.3 kB / 0.8304 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3121, allocations: 12.03 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.3122, allocations: 4.844 kB / 0.8304 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.3123, allocations: 180.2 kB / 0.8305 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3123, allocations: 12.31 kB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.3124, allocations: 4.375 kB / 0.8306 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.3126, allocations: 70.16 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3126, allocations: 192 / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3126, allocations: 11.92 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3126, allocations: 0 / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.3128, allocations: 47.95 kB / 0.8307 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.3133, allocations: 316.6 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.3138, allocations: 98.55 kB / 0.8311 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.552e-05/0.3139, allocations: 28.97 kB / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.3139, allocations: 0 / 0.8311 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.3141, allocations: 79.41 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3142, allocations: 4 kB / 0.8312 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004522/0.3146, allocations: 129.5 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.3147, allocations: 51.41 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.3148, allocations: 121.8 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3148, allocations: 25.7 kB / 0.8315 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.3149, allocations: 96.12 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.3149, allocations: 11.8 kB / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.315, allocations: 25.72 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3151, allocations: 330.8 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-05/0.3152, allocations: 23.92 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3153, allocations: 55.78 kB / 0.832 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.3155, allocations: 83.33 kB / 0.8321 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3155, allocations: 192 / 0.8321 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002733/0.3158, allocations: 117.6 kB / 0.8322 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3159, allocations: 7.938 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3159, allocations: 4 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3159, allocations: 96 / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.316, allocations: 19.92 kB / 0.8322 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.316, allocations: 4 kB / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.096e-05/0.3161, allocations: 15.92 kB / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3161, allocations: 3.984 kB / 0.8323 GB, free: 11.62 MB / 0.6544 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.0001369/0.3163, allocations: 125.8 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.3163, allocations: 3.906 kB / 0.8324 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.3163, allocations: 12.38 kB / 0.8324 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3163, allocations: 4 kB / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3163, allocations: 0 / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3164, allocations: 0 / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005694/0.3169, allocations: 366.4 kB / 0.8327 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3169, allocations: 0 / 0.8327 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.317, allocations: 11.92 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.317, allocations: 0 / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.317, allocations: 4 kB / 0.8328 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.317, allocations: 7.938 kB / 0.8328 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3171, allocations: 0 / 0.8328 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.3174, allocations: 199.3 kB / 0.833 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.3175, allocations: 81.02 kB / 0.833 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3175, allocations: 4 kB / 0.833 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.3176, allocations: 19.92 kB / 0.8331 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.3177, allocations: 7.984 kB / 0.8331 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.3177, allocations: 4 kB / 0.8331 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.583e-05/0.3178, allocations: 95.27 kB / 0.8332 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3178, allocations: 0 / 0.8332 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000262/0.3181, allocations: 8 kB / 0.8332 GB, free: 10.59 MB / 0.6544 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.0002087/0.3183, allocations: 103.2 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.3186, allocations: 79.88 kB / 0.8333 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3186, allocations: 0 / 0.8333 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.3188, allocations: 31.92 kB / 0.8334 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.3191, allocations: 27 kB / 0.8334 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.3197, allocations: 178.9 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.3201, allocations: 0.6922 MB / 0.8342 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.878e-05/0.3201, allocations: 7.859 kB / 0.8343 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.3202, allocations: 11.44 kB / 0.8343 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.3202, allocations: 0 / 0.8343 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of Templates: time 0.003815/0.324, allocations: 0.9558 MB / 0.8352 GB, free: 8.461 MB / 0.6544 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)