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.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 251.5 MB / 267.4 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.001061, allocations: 173.2 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.091/2.091, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000979/0.0009791, allocations: 85 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 11.78 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2489, allocations: 105.4 MB / 0.8968 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001977/0.2509, allocations: 1.199 MB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005277/0.2515, allocations: 221.9 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.2516, allocations: 0 / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.479e-05/0.2516, allocations: 3.938 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.597e-05/0.2517, allocations: 7.922 kB / 0.8982 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.2519, allocations: 15.98 kB / 0.8982 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.154e-05/0.252, allocations: 59.78 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2522, allocations: 16.28 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2523, allocations: 27.84 kB / 0.8983 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.123e-05/0.2523, allocations: 19.91 kB / 0.8983 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.2524, allocations: 4 kB / 0.8983 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.2524, allocations: 0 / 0.8983 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.2524, allocations: 11.94 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.2525, allocations: 23.86 kB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.784e-05/0.2526, allocations: 47.83 kB / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2526, allocations: 0 / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2526, allocations: 4 kB / 0.8984 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2526, allocations: 0 / 0.8984 GB, free: 66.55 MB / 0.6042 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.0006206/0.2533, allocations: 375.3 kB / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2533, allocations: 8.031 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.2534, allocations: 8.844 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.2535, allocations: 184.2 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.2535, allocations: 4.375 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.2535, allocations: 8.375 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2537, allocations: 70.16 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2538, allocations: 192 / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2538, allocations: 7.938 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2538, allocations: 0 / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.254, allocations: 59.95 kB / 0.8991 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.2545, allocations: 300.8 kB / 0.8994 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.2549, allocations: 118.5 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.48e-05/0.255, allocations: 40.95 kB / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.255, allocations: 0 / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.2552, allocations: 91.44 kB / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2552, allocations: 0 / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003992/0.2557, allocations: 145.5 kB / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.2557, allocations: 55.34 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.449e-05/0.2558, allocations: 113.8 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2558, allocations: 33.7 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.2558, allocations: 92.03 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.2559, allocations: 11.91 kB / 0.9 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.2559, allocations: 21.72 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.256, allocations: 318.8 kB / 0.9003 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.2561, allocations: 35.97 kB / 0.9004 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.2562, allocations: 63.78 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.2564, allocations: 95.34 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2564, allocations: 0 / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00025/0.2566, allocations: 125.4 kB / 0.9007 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2567, allocations: 4.188 kB / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.2567, allocations: 8.094 kB / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2567, allocations: 3.938 kB / 0.9007 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.2568, allocations: 19.98 kB / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2568, allocations: 0 / 0.9007 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.2569, allocations: 23.83 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2569, allocations: 4 kB / 0.9007 GB, free: 63.89 MB / 0.6042 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,edge1.y,edge1.u,$PRE.edge1.u,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 7.313e-05/0.257, allocations: 129.7 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.257, allocations: 4 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.2571, allocations: 8.375 kB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2571, allocations: 4 kB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.2571, allocations: 3.984 kB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2571, allocations: 0 / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.2575, allocations: 378.4 kB / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2575, allocations: 0 / 0.9012 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.453e-05/0.2575, allocations: 15.92 kB / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2575, allocations: 0 / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2576, allocations: 0 / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.2576, allocations: 0 / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2576, allocations: 3.938 kB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.2578, allocations: 215.9 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.2579, allocations: 81.02 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.2579, allocations: 0 / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.258, allocations: 23.92 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.2581, allocations: 15.92 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.2581, allocations: 4 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.2581, allocations: 91.27 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2581, allocations: 0 / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002174/0.2583, allocations: 8 kB / 0.9017 GB, free: 62.83 MB / 0.6042 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001178/0.2585, allocations: 115.2 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.2587, allocations: 79.89 kB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2587, allocations: 0 / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.2589, allocations: 36.17 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.2591, allocations: 17.98 kB / 0.9019 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.2596, allocations: 199.1 kB / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.2597, allocations: 0.6926 MB / 0.9028 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.2597, allocations: 11.44 kB / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2597, allocations: 0 / 0.9028 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.002365/0.2621, allocations: 0.9619 MB / 0.9037 GB, free: 60.66 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)