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.And.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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 252 MB / 267.6 MB, free: 10.96 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.001419/0.001419, allocations: 184 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0007439/0.0007439, allocations: 105.6 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003219, allocations: 12.47 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2191, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001344/0.2205, allocations: 1.095 MB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003714/0.2209, allocations: 197.6 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.2209, allocations: 0 / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.2209, allocations: 0 / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.222e-05/0.221, allocations: 15.91 kB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.2212, allocations: 15.94 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.841e-05/0.2212, allocations: 47.84 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.2213, allocations: 8 kB / 0.9022 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.2214, allocations: 23.86 kB / 0.9022 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.2214, allocations: 19.91 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.2215, allocations: 4 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.2215, allocations: 0 / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.2215, allocations: 11.98 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.2215, allocations: 33.64 kB / 0.9023 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.779e-05/0.2216, allocations: 31.92 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2216, allocations: 0 / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2216, allocations: 3.938 kB / 0.9023 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2216, allocations: 0 / 0.9023 GB, free: 62.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004898/0.2221, allocations: 375.4 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2222, allocations: 8.031 kB / 0.9027 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.2222, allocations: 7.938 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.963e-05/0.2223, allocations: 182.9 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.2223, allocations: 0 / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.2223, allocations: 4 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.2224, allocations: 49.69 kB / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2225, allocations: 4 kB / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2225, allocations: 0 / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2225, allocations: 0 / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.516e-05/0.2225, allocations: 31.91 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.2229, allocations: 276.8 kB / 0.9032 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.323e-05/0.223, allocations: 46.56 kB / 0.9033 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.223, allocations: 16.98 kB / 0.9033 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.223, allocations: 0 / 0.9033 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.2232, allocations: 75.31 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2232, allocations: 0 / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001838/0.2234, allocations: 93.64 kB / 0.9034 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.2234, allocations: 55.41 kB / 0.9035 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.2235, allocations: 117.8 kB / 0.9036 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.2235, allocations: 25.7 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.2236, allocations: 88.14 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.2236, allocations: 15.8 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2236, allocations: 0 / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.2237, allocations: 318.8 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.2237, allocations: 19.92 kB / 0.904 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.2237, allocations: 30.58 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.2238, allocations: 16 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2238, allocations: 0 / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.978e-05/0.2239, allocations: 81.52 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2239, allocations: 11.98 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2239, allocations: 0 / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2239, allocations: 0 / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.545e-05/0.224, allocations: 12 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.224, allocations: 7.938 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.2241, allocations: 19.88 kB / 0.9042 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2241, allocations: 4 kB / 0.9042 GB, free: 60.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/0.2242, allocations: 117.8 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.2242, allocations: 8.094 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.2242, allocations: 8.375 kB / 0.9043 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2242, allocations: 11.92 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2242, allocations: 0 / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2242, allocations: 4 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.2243, allocations: 173.6 kB / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2243, allocations: 0 / 0.9045 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.2244, allocations: 11.98 kB / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2244, allocations: 0 / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.2244, allocations: 0 / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2244, allocations: 0 / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2244, allocations: 0 / 0.9045 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.2245, allocations: 104.9 kB / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.2246, allocations: 85.09 kB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.2246, allocations: 0 / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.2247, allocations: 19.98 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.2247, allocations: 7.984 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.2247, allocations: 0 / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.2248, allocations: 92.05 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2248, allocations: 4 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001693/0.225, allocations: 16 kB / 0.9049 GB, free: 59.43 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001022/0.2251, allocations: 95.25 kB / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.2252, allocations: 52.14 kB / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2252, allocations: 0 / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.2252, allocations: 16.16 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.2254, allocations: 28 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.2257, allocations: 200.3 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.2259, allocations: 0.6868 MB / 0.9059 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.2259, allocations: 11.44 kB / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2259, allocations: 4 kB / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.001843/0.2277, allocations: 0.8982 MB / 0.9068 GB, free: 57.38 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)